Skip to content

[codex] Create GitHub release after NuGet publish#83

Merged
mxtordev merged 2 commits into
mainfrom
codex/release-tag-github-release
Jul 5, 2026
Merged

[codex] Create GitHub release after NuGet publish#83
mxtordev merged 2 commits into
mainfrom
codex/release-tag-github-release

Conversation

@mxtordev

@mxtordev mxtordev commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Let the Release workflow create the v{packageVersion} GitHub Release after NuGet publish succeeds.
  • Add package_version as an output from the package smoke-test step.
  • Extract release notes from the matching CHANGELOG.md section and create an annotated tag before publishing the GitHub Release.

Why

Publishing to NuGet and then manually creating a tag/release can leave the repo in an inconsistent state. This keeps the manual dispatch gate, but makes the workflow finish the release metadata once the package has actually published.

Validation

  • git diff --check
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release.yml"); puts "yaml ok"'
  • Manually ran the changelog extraction awk against the existing 0.1.0 section

Note: shellcheck is not installed locally, so the embedded Bash was inspected manually.

@mxtordev mxtordev marked this pull request as ready for review July 5, 2026 21:04
@mxtordev mxtordev merged commit 39a2007 into main Jul 5, 2026
1 check passed
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