Skip to content

automate the release after the environment approval - #3927

Merged
utam0k merged 1 commit into
youki-dev:mainfrom
utam0k:release-automation
Nov 23, 2026
Merged

utam0k merged 1 commit into
youki-dev:mainfrom
utam0k:release-automation

Conversation

@utam0k

@utam0k utam0k commented Nov 23, 2026

Copy link
Copy Markdown
Member

Description

After this, a release needs only two manual steps: merge the release PR and approve the release environment.

  • .tagpr: tagpr decides the version from labels. If a merged PR has breaking 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.
  • Remove the unused update_version_config.yaml.

The next release will be v0.8.0.

Type of Change

  • CI/CD related changes

Testing

  • Tested manually

Ran the tagpr label logic and just version-up locally, and ran the release steps with fake gh and cargo.

Signed-off-by: utam0k <k0ma@utam0k.jp>
@utam0k utam0k added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Nov 23, 2026
@utam0k
utam0k requested a review from a team November 23, 2026 08:32
@saku3
saku3 requested a balanced review from Copilot November 23, 2026 09:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 change triggering 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

@saku3 saku3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@utam0k
utam0k merged commit fa93ae3 into youki-dev:main Nov 23, 2026
36 checks passed
@youki-dev-bot youki-dev-bot Bot mentioned this pull request Nov 23, 2026
@utam0k
utam0k deleted the release-automation branch November 23, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants