Repository navigation
ci(release): build releases from pushed version tags - #2703
Draft
konradzapalowicz wants to merge 1 commit into
Draft
konradzapalowicz wants to merge 1 commit into
konradzapalowicz wants to merge 1 commit into
Conversation
Releases are cut from vX.Y.Z tags that mono's publish pushes, instead of a weekly job that picks the next version and tags it. A tag push re-runs this workflow on main, so release artifacts are still signed as release.yaml@refs/heads/main. The release job refuses a tag that is not a version, already has a release (including a draft), or is not on main, then runs goreleaser as before. To build a tag by hand, run the workflow on main with that tag. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
konradzapalowicz
marked this pull request as draft
November 27, 2026 18:09
Contributor
Author
|
Lets keep it draft until after right before importing apko |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The release workflow now builds and publishes a release when a
vX.Y.Ztag is pushed, instead of running weekly and picking the next version itself. It no longer creates tags.A tag push runs the workflow from the tagged commit, so a
dispatchjob re-runs it onmain. Release files are therefore still signed asrelease.yaml@refs/heads/main. Thereleasejob refuses a tag that is not a version, already has a release (drafts included), or is not onmain, then runs goreleaser as before. goreleaser creates the release itself, because the repo's releases are immutable..goreleaser.yamland the Makefile are unchanged.To build a tag by hand, run the workflow on
mainwith that tag. This is also the way to build a tag that was pushed on a commit without this workflow, or pushed together with more than three other tags. A draft left by a failed run must be deleted first.What changed
🤖 Generated with Claude Code