Release tooling supports sequential release candidates - #23
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds local tooling for stable and sequential release-candidate tags.
Changes:
- Adds RC-aware release tag selection and tests.
- Moves publishing to a tag-triggered workflow.
- Updates release documentation and locked actions.
Show a summary per file
| File | Description |
|---|---|
script/release |
Implements safe local tag creation and RC sequencing. |
script/release_test |
Tests release-tag selection. |
RELEASING.md |
Documents the new release process. |
Makefile |
Runs release script tests. |
.github/workflows/release.yml |
Publishes releases from tags. |
.github/workflows/actions.lock |
Updates locked workflow dependencies. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 5/6 changed files
- Comments generated: 1
- Review effort level: Balanced
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.
What
Add safe local release tooling for stable and sequential release-candidate tags.
Why
Maintainers need to publish release candidates without changing how the next stable version is selected or allowing CI to mint release tags.
How
script/release <patch|minor|major> --rcselects or incrementsgo/vX.Y.Z-rc.Nfrom the latest stable tag.--rcpromotes that base to the stablego/vX.Y.Ztag.main, runs repository validation, pushes an annotated tag, and verifies the remote tag.Risk
go/v*tag publishingTesting
script/release_test --current go/v0.0.5-rc.1 patchshellcheck script/release script/release_testbash -n script/release script/release_testgh actions-lock --verify-local --no-interactivemake generatemake lintmake testgit diff --check