Skip to content

Commit 9805fd9

Browse files
committed
Merge branch 'hotfix/0.4.5'
2 parents 1850227 + 56c04cb commit 9805fd9

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.5] / 2023-07-17
11+
### 🔧 Fixes
12+
- Reverted changes made to output tests result in a folder that is named after the current branch (if any).
13+
14+
1015
## [0.4.4] / 2023-07-15
1116
### 🔧 Fixes
1217
- Fixed prompt to set the title of the PR to accept spaces ([#74](https://github.com/candoumbe/Pipelines/issues/74))
@@ -125,3 +130,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
125130
[0.3.0]: https://github.com/candoumbe/Pipelines/compare/0.2.0...0.3.0
126131
[0.2.0]: https://github.com/candoumbe/Pipelines/compare/0.1.0...0.2.0
127132
[0.1.0]: https://github.com/candoumbe/Pipelines/tree/0.1.0
133+
134+
[Unreleased]: https://github.com/candoumbe/Pipelines/compare/0.4.5...HEAD
135+
[0.4.5]: https://github.com/candoumbe/Pipelines/compare/0.4.4...0.4.5
136+
[0.4.4]: https://github.com/candoumbe/Pipelines/compare/0.4.3...0.4.4
137+
[0.4.3]: https://github.com/candoumbe/Pipelines/compare/0.4.2...0.4.3
138+
[0.4.2]: https://github.com/candoumbe/Pipelines/compare/0.4.1...0.4.2
139+
[0.4.1]: https://github.com/candoumbe/Pipelines/compare/0.4.0...0.4.1
140+
[0.4.0]: https://github.com/candoumbe/Pipelines/compare/0.3.0...0.4.0
141+
[0.3.0]: https://github.com/candoumbe/Pipelines/compare/0.2.0...0.3.0
142+
[0.2.0]: https://github.com/candoumbe/Pipelines/compare/0.1.0...0.2.0
143+
[0.1.0]: https://github.com/candoumbe/Pipelines/tree/0.1.0

src/Candoumbe.Pipelines/Components/IHaveTests.cs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ public interface IHaveTests : IHaveArtifacts
1616
/// Directory where to publish all test results
1717
/// </summary>
1818
/// <remarks>
19-
/// By default, the root directory for all test result will be will be in
20-
/// <list type="bullet">
21-
/// <item><c>{ArtifactsDirectory} / {branchName}</c> when the current project is a part of a git repository </item>
22-
/// <item><c>{ArtifactDirectoryName}</c> when the current project is not a part of a git repository or is in a detached branch.</item>
23-
/// </list>
24-
/// </remarks>ArtifactsDirectory / "tests-results";
25-
public AbsolutePath TestResultDirectory => this.Get<IHaveGitRepository>()?.GitRepository?.Branch switch
26-
{
27-
string branchName when !string.IsNullOrWhiteSpace(branchName) => ArtifactsDirectory / TestResultDirectoryName / branchName,
28-
_ => ArtifactsDirectory / TestResultDirectoryName
29-
};
19+
/// By default, the root directory for all test result will be will be in <c>{ArtifactsDirectory} / "tests-results"</c>
20+
public AbsolutePath TestResultDirectory => ArtifactsDirectory / TestResultDirectoryName;
3021
}

0 commit comments

Comments
 (0)