Skip to content

ci(release): create the GitHub Release the tag needs - #1

Merged
Mikhus merged 1 commit into
masterfrom
ci/github-release-on-tag
Sep 8, 2026
Merged

Mikhus merged 1 commit into
masterfrom
ci/github-release-on-tag

Conversation

@Mikhus

@Mikhus Mikhus commented Sep 8, 2026

Copy link
Copy Markdown
Member

v1.2.0 was tagged on 2026-09-01 and its images published, but no GitHub Release object was created — releases here are cut by hand. The repository page, the Releases sidebar and /releases/latest all read that object, not the tag list, so the front page kept advertising v1.1.1. The v1.2.0 release has now been created manually; this stops it recurring.

Adds a github-release job that runs on a tag push, after both image jobs, so a release never points at a version that cannot be pulled yet.

  • Carries the same newest-tag guard as publish and latest: re-cutting an older tag gets its own release, but --latest=false keeps "Latest" on the newer one.
  • Skips a tag that already has a release, so a re-run never overwrites hand-written notes. Generated notes are the floor for a tag that would otherwise have no release at all — still worth editing afterwards.
  • Skipped on workflow_dispatch, where the ref is a branch.

A tag is not a release. The repository page, the Releases sidebar and
`/releases/latest` all read the Release object, so a tag pushed without one
leaves the front page advertising an older version — v1.2.0 was tagged and its
images published on 2026-09-01, and the page kept offering v1.1.1 until the
release was created by hand.

Runs after both image jobs, so a release never points at a version that cannot
be pulled yet, and carries the same newest-tag guard they do: re-cutting an
older tag gets its own release, but does not take "Latest" from a newer one.
An existing release is left untouched — hand-written notes are the house style
and a re-run must not overwrite them; generated notes are only the floor for a
tag that would otherwise have no release at all.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Thank you for your contribution to @imqueue. Before this pull request can be merged, please read the @imqueue Contribution Terms and sign them by posting the following comment exactly:


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@Mikhus
Mikhus merged commit 3e1e3d7 into master Sep 8, 2026
7 of 8 checks passed
@Mikhus
Mikhus deleted the ci/github-release-on-tag branch September 8, 2026 18:51
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant