Skip to content

ci: create a GitHub Release on tag#192

Merged
gralin merged 2 commits into
masterfrom
fix-release-github-release
Jul 3, 2026
Merged

ci: create a GitHub Release on tag#192
gralin merged 2 commits into
masterfrom
fix-release-github-release

Conversation

@gralin

@gralin gralin commented Jul 3, 2026

Copy link
Copy Markdown
Member

The release workflow pushed packages to nuget.org + GitHub Packages but never created a GitHub Release (the tagged entry on the Releases page). Add a final step:

gh release create <tag> --title <tag> --generate-notes [--prerelease]
  • Auto-generates release notes from the commits/PRs since the previous release.
  • Uses GitHub's automatic source archives as the release assets (the packages themselves live on nuget.org / GitHub Packages — no need to duplicate them).
  • Flags the release as a prerelease when the tag has a -beta/-rc suffix, so stable v4.0.0 becomes 'Latest' but v4.0.0-beta.1 does not.
  • Needs contents: write (added).

Applies to future tags.

gralin added 2 commits July 3, 2026 09:02
The release workflow published packages but never created a GitHub Release. Add a step
that runs 'gh release create' for the pushed tag with auto-generated notes and the .nupkg
files attached, flagged as a prerelease when the tag has a -beta/-rc suffix. Requires
contents: write.
The packages are on nuget.org and GitHub Packages; the release only needs GitHub's
automatic source archives, so drop the .nupkg assets from gh release create.
@gralin gralin merged commit 03abb7b into master Jul 3, 2026
3 checks passed
@gralin gralin deleted the fix-release-github-release branch July 3, 2026 07:20
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.

1 participant