From b57678549b37a4aec0e20a2aac2382882bfa9d34 Mon Sep 17 00:00:00 2001 From: ChristianHaase Date: Fri, 21 Nov 2025 12:21:45 +0100 Subject: [PATCH 1/3] feat: prepare release of v1.0.0 --- Directory.Version.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Version.props b/Directory.Version.props index 454e3ba..581c1f4 100644 --- a/Directory.Version.props +++ b/Directory.Version.props @@ -1,5 +1,5 @@ - 0.1.0 + 1.0.0 \ No newline at end of file From 984fd3dc59516297b5214e1b414984ee6893964c Mon Sep 17 00:00:00 2001 From: ChristianHaase Date: Fri, 21 Nov 2025 12:52:05 +0100 Subject: [PATCH 2/3] fix: fix incorrect main branch filter --- Build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build.ps1 b/Build.ps1 index 3e862ad..dcdafc0 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -21,7 +21,7 @@ try { $branch = @{ $true = $env:CI_TARGET_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$NULL -ne $env:CI_TARGET_BRANCH]; $revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:CI_BUILD_NUMBER, 10); $false = "local" }[$NULL -ne $env:CI_BUILD_NUMBER]; - $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)) -replace '([^a-zA-Z0-9\-]*)', '')-$revision"}[$branch -eq "main" -and $revision -ne "local"] + $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)) -replace '([^a-zA-Z0-9\-]*)', '')-$revision"}[$branch -eq "master" -and $revision -ne "local"] $commitHash = $(git rev-parse --short HEAD) $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""] @@ -59,7 +59,7 @@ try { if ($env:NUGET_API_KEY) { # GitHub Actions will only supply this to branch builds and not PRs. We publish - # builds from any branch this action targets (i.e. main and dev). + # builds from any branch this action targets (i.e. master and dev). Write-Output "build: Publishing NuGet package" From 7ca9af7d3658546de4b7d957074fbfd7c757d702 Mon Sep 17 00:00:00 2001 From: ChristianHaase Date: Fri, 21 Nov 2025 15:24:29 +0100 Subject: [PATCH 3/3] fix: include gh token to generate gh release --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f20f9ee..95eb046 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: env: DOTNET_CLI_TELEMTRY_OPTOUT: true NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: pwsh run: | ./Build.ps1 \ No newline at end of file