From 5f7793f697c59b7ad850dd6c829044de2a2de6f6 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Mon, 14 Sep 2026 14:17:59 +0000 Subject: [PATCH 1/2] fix: stamp assembly version from the release tag The publish workflow passed the tag as -p:PackageVersion, which the SDK reads only when writing the .nuspec. AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion default from Version, which was never set, so every published assembly carried 1.0.0.0 while the package carried the tag. Pass the tag as -p:Version instead. It is the root property the others default from, so the package version is unchanged and the assembly attributes now match. --- .github/workflows/publish-nuget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index f2caad1..d63dae8 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -22,7 +22,7 @@ jobs: with: dotnet-version: 10.x.x - name: Package - run: dotnet pack --configuration Release -p:PackageVersion=${{ github.ref_name }} --output . + run: dotnet pack --configuration Release -p:Version=${{ github.ref_name }} --output . - name: Upload package artifact uses: actions/upload-artifact@v7 with: From b5bf6de31a3554aec4c3c6bd4e4791c163946d64 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Mon, 14 Sep 2026 14:45:00 +0000 Subject: [PATCH 2/2] docs: align documented pack command with the workflow The workflow now passes the release tag as -p:Version. Update the pack command in CLAUDE.md to match, so a local pack stamps the assembly the same way CI does. --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5c3e0bf..9df79b1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,7 +12,7 @@ dotnet build --no-restore -warnaserror dotnet test --no-build # run xUnit tests dotnet format --verify-no-changes # check code style (CI enforces this) dotnet format && csharpier format . # auto-fix code style -dotnet pack --configuration Release -p:PackageVersion= --output . +dotnet pack --configuration Release -p:Version= --output . ``` ## Architecture