Skip to content

Commit 65174b3

Browse files
committed
Merge branch 'release/1.0.0'
2 parents db479aa + f6e22e5 commit 65174b3

File tree

17 files changed

+56
-34
lines changed

17 files changed

+56
-34
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"gitversion.tool": {
12-
"version": "6.2.0",
12+
"version": "6.4.0",
1313
"commands": [
1414
"dotnet-gitversion"
1515
]

.github/workflows/delivery.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
name: ubuntu-latest
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838
- name: 'Cache: .nuke/temp, ~/.nuget/packages'

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
name: ubuntu-latest
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838
- name: 'Cache: .nuke/temp, ~/.nuget/packages'

.nuke/build.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@
173173
"type": "string",
174174
"description": "Name of the branch to create"
175175
},
176-
"NugetApiKey": {
176+
"NuGetApiKey": {
177177
"type": "string",
178-
"description": "Token used to interact with Nuget API",
178+
"description": "API Key to use for accessing the NuGet repository",
179179
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
180180
},
181181
"SkipConfirmation": {

.nuke/parameters.local.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"GitHubToken": "v1:rDcK7lT0St3/CdfzkxuYhNWZWoGLJhIHC133qAjgkdaPVMcPfo7yr8Rc8oKHEEPssOrAylXXAMfp/u0pVr8p3OTAT0Va2BJBnpGSKZlg2ubSjFD+uIOzAl3JTo8aajjD",
3-
"NugetApiKey": "v1:Sb2YkCpSpTtZP7OxoNc+5hQNmvo6/8sppRW+eNMDuBJ3GK2Iy2VpcW+GRjQIGN73"
4-
}
2+
"$schema": "./build.schema.json",
3+
"GitHubToken": "v1:r3dNxCHO7M3A8kirsxd3lKDWFxE0tYfmiTF4JfCYeLBSfiwvW2wm4lHEmsVUkueoAsk1HNLnavJHVWtlxTtkJJLZMJGTtnHHRlM0FpnvsrAupxPYRJWZDqgaGNO7+hAq",
4+
"NuGetApiKey": "v1:z7RveyZnVbRsGxFwVN2wEWAckFlLM/Vwb7BY9y42qpLD1nVfVbG5Q3ikRFZ9V/9W"
5+
}

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.0.0] / 2025-08-27
11+
### 🚀 New features
12+
- Added `Filter` option to specifiy which benchmarks to perform
13+
- Added `NuGetApiKey` parameter to `IPushNugetPackages` component
14+
15+
### 🛠️ Fixes
16+
- Fixed `--major` parameter not read from command line when creating a release branch.
17+
1018
## [0.13.4] / 2025-08-18
1119
### 🛠️ Fixes
1220
- Fixed incorrect rendering of `IDotNetFormat` command line arguments.
@@ -259,13 +267,14 @@ So now `{MutationTestDirectory}/[{framework}]` is now changed to `{MutationTestD
259267

260268
### 🔧 Fixes
261269
- Fixed directory path used by `IUnitTest` target to output unit tests results.
262-
- Fixed argument format used to define reporters used when running mutation tests.
270+
- Fixed the argument format used to define reporters used when running mutation tests.
263271
- Fixed `SourceName` not displayed when running `IPublish.Publish` target
264272

265273
## [0.1.0] / 2022-10-23
266274
- Initial release
267275

268-
[Unreleased]: https://github.com/candoumbe/Pipelines/compare/0.13.4...HEAD
276+
[Unreleased]: https://github.com/candoumbe/Pipelines/compare/1.0.0...HEAD
277+
[1.0.0]: https://github.com/candoumbe/Pipelines/compare/0.13.4...1.0.0
269278
[0.13.4]: https://github.com/candoumbe/Pipelines/compare/0.13.3...0.13.4
270279
[0.13.3]: https://github.com/candoumbe/Pipelines/compare/0.13.2...0.13.3
271280
[0.13.2]: https://github.com/candoumbe/Pipelines/compare/0.13.1...0.13.2
@@ -288,4 +297,4 @@ So now `{MutationTestDirectory}/[{framework}]` is now changed to `{MutationTestD
288297
[0.4.0]: https://github.com/candoumbe/Pipelines/compare/0.3.0...0.4.0
289298
[0.3.0]: https://github.com/candoumbe/Pipelines/compare/0.2.0...0.3.0
290299
[0.2.0]: https://github.com/candoumbe/Pipelines/compare/0.1.0...0.2.0
291-
[0.1.0]: https://github.com/candoumbe/Pipelines/tree/0.1.0
300+
[0.1.0]: https://github.com/candoumbe/Pipelines/tree/0.1.0

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ is separated from the history of the code base.
3030

3131
### 2. **Writing a pipeline file of some sort**
3232

33-
Most of the time in YAML, the file that describes the steps required to build a project are providers specific.
33+
Most of the time in YAML, the file that describes the steps required to build a project is provider specific.
3434
So even though you can write YAML, knowing how to write an Azure DevOps pipeline does not really help when it comes to writing a pipeline for GitHub Actions.
3535

3636
## The solution
3737

3838
[Nuke] is a library written by [Matthias Koch] that helps to create builds.
3939

40-
This project offers an opinionated way at writing pipelines by giving a set of components (more on that later) with the following benefits :
40+
This project offers an opinionated way at writing pipelines by giving a set of components
41+
(more on that later) with the following benefits :
4142

4243
1. no need to go your code management tool to set up your project CI/CD.
4344
2. no more YAML file : yeah YAML is great but the tooling is not great and the structure itself is error-prone.
@@ -230,7 +231,7 @@ PRs are welcome, check out the [contribution guidelines] if you want to contribu
230231

231232
- [Matthias Koch] for the marvelous [Nuke] library. This project would never exist without its work.
232233

233-
[Nuke]: https://github.com/nuke/
234+
[Nuke]: https://github.com/nuke-build/nuke
234235
[Nuke.GlobalTool]: https://nuget.org/packages/Nuke.GlobalTool
235236
[Matthias Koch]: https://github.com/matkoch
236237
[Candoumbe.Pipelines]: https://nuget.org/packages/Candoumbe.Pipelines
@@ -241,4 +242,4 @@ PRs are welcome, check out the [contribution guidelines] if you want to contribu
241242
[IGitFlow]: ./src/Candoumbe.Pipelines/Components/Workflows/IGitFlow.cs
242243
[IGitHubFlow]: ./src/Candoumbe.Pipelines/Components/Workflows/IGitHubFlow.cs
243244
[IGitFlowWithPullRequest]: ./src/Candoumbe.Pipelines/Components/GitHub/IGitFlowWithPullRequest.cs
244-
[IGitHubFlowWithPullRequest]: ./src/Candoumbe.Pipelines/Components/GitHub/IGitHubFlowWithPullRequest.cs
245+
[IGitHubFlowWithPullRequest]: ./src/Candoumbe.Pipelines/Components/GitHub/IGitHubFlowWithPullRequest.cs

build/Pipeline.cs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
EnableGitHubToken = true,
2626
ImportSecrets =
2727
[
28-
nameof(NugetApiKey)
28+
nameof(IPushNugetPackages.NuGetApiKey)
2929
],
3030
PublishArtifacts = true,
3131
OnPullRequestExcludePaths =
@@ -45,7 +45,7 @@
4545
EnableGitHubToken = true,
4646
ImportSecrets =
4747
[
48-
nameof(NugetApiKey)
48+
nameof(IPushNugetPackages.NuGetApiKey)
4949
],
5050
PublishArtifacts = true,
5151
OnPullRequestExcludePaths =
@@ -83,12 +83,6 @@ public class Pipeline : EnhancedNukeBuild,
8383
///<inheritdoc/>
8484
Solution IHaveSolution.Solution => Solution;
8585

86-
/// <summary>
87-
/// Token used to interact with GitHub API
88-
/// </summary>
89-
[Parameter("Token used to interact with Nuget API")]
90-
[Secret]
91-
public readonly string NugetApiKey;
9286

9387
/// Support plugins are available for:
9488
/// - JetBrains ReSharper https://nuke.build/resharper
@@ -107,9 +101,9 @@ public class Pipeline : EnhancedNukeBuild,
107101
IEnumerable<PushNugetPackageConfiguration> IPushNugetPackages.PublishConfigurations =>
108102
[
109103
new NugetPushConfiguration(
110-
apiKey: NugetApiKey,
104+
apiKey: this.As<IPushNugetPackages>()?.NuGetApiKey,
111105
source: new Uri("https://api.nuget.org/v3/index.json"),
112-
canBeUsed: () => NugetApiKey is not null
106+
canBeUsed: () => this.As<IPushNugetPackages>()?.NuGetApiKey is not null
113107
),
114108
new GitHubPushNugetConfiguration(
115109
githubToken: this.Get<ICreateGithubRelease>()?.GitHubToken,

core.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</When>
3434
</Choose>
3535
<ItemGroup>
36-
<PackageReference Include="Roslynator.Analyzers" Version="4.13.1">
36+
<PackageReference Include="Roslynator.Analyzers" Version="4.14.0">
3737
<PrivateAssets>all</PrivateAssets>
3838
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3939
</PackageReference>
@@ -43,6 +43,6 @@
4343
</ItemGroup>
4444

4545
<ItemGroup>
46-
<PackageReference Include="Candoumbe.Miscutilities" Version="0.14.0"/>
46+
<PackageReference Include="Candoumbe.Miscutilities" Version="0.15.0"/>
4747
</ItemGroup>
4848
</Project>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "8.0.408"
3+
"version": "8.0.413"
44
}
55
}

0 commit comments

Comments
 (0)