ci(release): harden publish workflow - #281
Conversation
Require main and the nuget environment, support safe dry runs, create the release tag before publishing, and derive notes from CHANGELOG.md. Keep local packages visibly local and verify GitVersion transitions.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Prevent GitHub Actions PR metadata from overriding branches inside the temporary versioning repositories.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 23dfcc8240
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef41fb5ca9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d13f9a8257
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Closes #194.
What changed
mainbehind thenugetenvironmentCHANGELOG.md, push the release tag before packages, and verify it when creating the GitHub release.nupkgand.snupkgexplicitly without masking duplicates0.0.0-localand remove stalenext-versionValidation
dotnet build Kevlar.slnx -c Releasedotnet pack Kevlar.slnx -c Release --no-build./scripts/Verify-Packages.ps1 -PackagesPath artifacts/package/release -Version 0.0.0-local./scripts/Verify-ReleaseWorkflow.ps1./scripts/Verify-Versioning.ps1