Skip to content

ci(release): create the GitHub release after publishing - #21

Merged
marcortola merged 1 commit into
mainfrom
ci-release-github-release
Sep 29, 2026
Merged

marcortola merged 1 commit into
mainfrom
ci-release-github-release

Conversation

@marcortola

Copy link
Copy Markdown
Member

Glama's Auto-Release builds and lists a new version only for a GitHub release, not a bare tag. The repository had tags and no releases, so Glama stayed at 1.0.0 after v1.1.0 until a release was created by hand today.

A final github-release job, after registry, creates the release for the tag with generated notes. It runs only once every artifact the release announces exists, and it leaves an existing release (such as one written by hand) alone. It is the only job with contents: write. The README's release paragraph says so.

Test plan

  • actionlint passes
  • Ran the step locally against v1.1.0: it detects the existing release and exits 0 without changes
  • The create path runs on the next v* tag

Glama builds and lists a new version only for a GitHub release, not for a
bare tag, so v1.1.0 stayed at 1.0.0 there until a release was created by
hand. The last job of the release workflow now creates the release with
generated notes once npm, GHCR and the registry have the version, and
leaves an existing release alone.
@marcortola
marcortola merged commit 374caf0 into main Sep 29, 2026
8 checks passed
@marcortola
marcortola deleted the ci-release-github-release branch September 29, 2026 09:19
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