Repository navigation
automate the release after the environment approval - #3927
Merged
Merged
Conversation
Signed-off-by: utam0k <k0ma@utam0k.jp>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues blocking the release-pipeline changes.
No open issues 🎉
What changed in this PR
This PR streamlines youki’s release pipeline so releases require only merging the release PR and approving the release environment.
Changes:
- Derives versions from tagpr labels, with
breaking changetriggering a minor release. - Adds per-ref concurrency and retry-aware publication checks, then publishes the GitHub release after the crates.
- Lists breaking changes first in release notes and removes the unused version-configuration workflow.
| File | Description |
|---|---|
.tagpr |
Uses tagpr’s calculated version and configures the minor-release label. |
.github/workflows/update_version_config.yaml |
Removes the manual version-configuration workflow. |
.github/workflows/release.yaml |
Adds concurrency control, publication-state checks, and automatic GitHub release publication. |
.github/release.yml |
Moves breaking changes ahead of improvements in release notes. |
Review effort: Balanced
Merged
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.
Description
After this, a release needs only two manual steps: merge the release PR and approve the
releaseenvironment..tagpr: tagpr decides the version from labels. If a merged PR hasbreaking change, it is a minor release. We no longer edit the version by hand.release.yaml: publish the draft release after the crates are published. A rerun continues from where it stopped.release.yml: list breaking changes first.update_version_config.yaml.The next release will be v0.8.0.
Type of Change
Testing
Ran the tagpr label logic and
just version-uplocally, and ran the release steps with fakeghandcargo.