From 934bf3f68e383aead79d6f7165fe147de0142b87 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Nov 2025 19:01:37 +0000 Subject: [PATCH 1/2] Include symbol packages (.snupkg) in artifact uploads Update CI workflow to upload both .nupkg and .snupkg files: - Artifact upload now includes both package types using multi-line path - GitHub Packages push uses *.*nupkg pattern to match both extensions Symbol packages (.snupkg) contain debugging information that helps developers debug into the library code. Publishing them to GitHub Packages enables a better debugging experience. --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dc1b1f8..488c6184 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,8 +43,10 @@ jobs: uses: actions/upload-artifact@v4 with: name: nuget-packages - path: ./artifacts/*.nupkg + path: | + ./artifacts/*.nupkg + ./artifacts/*.snupkg - name: Push to GitHub Packages if: github.event_name == 'push' && startsWith(github.repository, 'khellang/') - run: dotnet nuget push ./artifacts/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate + run: dotnet nuget push ./artifacts/*.*nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate From 54ad92609d1f9c0ee9d0006fa6e284595ac319ee Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Nov 2025 19:03:49 +0000 Subject: [PATCH 2/2] Integrate MinVer for Git-based versioning Add MinVer 6.0.0 package for automatic version calculation from Git tags: - MinVer automatically determines version from Git tags (e.g., v6.1.0) - Generates proper semantic versions with pre-release identifiers - Integrates with build height for automatic patch increments - VersionPrefix (6.1.0) serves as fallback when no tags exist - MinVerTagPrefix set to 'v' to match conventional tag format Benefits: - Eliminates manual version updates in project files - Automatic versioning in CI/CD pipelines - Proper pre-release versioning for feature branches - Consistent with deterministic builds Microsoft.SourceLink.GitHub is already at latest version 8.0.0. Version calculation examples: - On tag v6.1.0: produces version 6.1.0 - After tag: produces version 6.1.1-alpha.0.{height} - On branch: includes branch name in pre-release identifier --- src/Scrutor/Scrutor.csproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Scrutor/Scrutor.csproj b/src/Scrutor/Scrutor.csproj index 9762aae8..2a0d4707 100644 --- a/src/Scrutor/Scrutor.csproj +++ b/src/Scrutor/Scrutor.csproj @@ -1,7 +1,9 @@  Register services using assembly scanning and a fluent API. + 6.1.0 + v Kristian Hellang net462;netstandard2.0;net8.0;net10.0 $(NoWarn);CS1591 @@ -35,6 +37,7 @@ +