Skip to content

fix(ci): stamp build outputs with publish version#22

Merged
ncipollina merged 1 commit intomainfrom
fix/version-stamp-build-and-pack
Apr 19, 2026
Merged

fix(ci): stamp build outputs with publish version#22
ncipollina merged 1 commit intomainfrom
fix/version-stamp-build-and-pack

Conversation

@j-d-ha
Copy link
Copy Markdown
Contributor

@j-d-ha j-d-ha commented Apr 19, 2026

Summary

  • pass version metadata to dotnet build in all publish/build workflows so compiled assemblies are stamped with the resolved package version
  • keep dotnet pack --no-build aligned with the same Version and InformationalVersion properties for deterministic package metadata
  • fixes source generator scenarios that read assembly metadata and were seeing 1.0.0.0 despite correct NuGet package versions

Copy link
Copy Markdown
Collaborator

@ncipollina ncipollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with this approach..

Comment thread .github/workflows/package-build.yaml
@ncipollina ncipollina merged commit a7d07a0 into main Apr 19, 2026
@ncipollina ncipollina deleted the fix/version-stamp-build-and-pack branch April 19, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants