ci(release): a patch tagged on its line's release branch (release/vX.Y) is checked against that branch, not main #290

Merged
HumanBean merged 1 commit from HumanBean/LongshotLauncher:ci/release-branch-tags into release/v1.3 2026-11-26 07:46:27 +00:00
Owner

v1.3.1 is cut from release/v1.3 (v1.3.0 and #289), which main doesn't hold, and the release workflow's check-tag refuses every tag not on main. This lets a patch tagged on its line's release branch through, checked against that branch instead.

What changed

  • .forgejo/workflows/release.yml, the version job: for a tag vX.Y.Z whose commit is on origin/release/vX.Y, check-tag runs with --main origin/release/vX.Y; every other tag is checked against origin/main as before. The rest of check-tag is unchanged: the number has to be above every release there is, and as high as the commits since the last stable call for.
  • Only this branch's workflow changes. Standardizing release branches and .1 cherry-picks in Tooling (release.py, RELEASING.md, the release skill) comes as its own pull request there.

Tests

  • Dry run on a clone with a local v1.3.1 tag on this commit, against the real release list: check-tag v1.3.1 --main origin/release/v1.3 → v1.3.1: ok (stable channel); with --main origin/main → refused, "not on main", as before.
  • Not run in CI yet: the first run is the v1.3.1 tag itself.

🤖 Generated with Claude Code

v1.3.1 is cut from `release/v1.3` (v1.3.0 and #289), which `main` doesn't hold, and the release workflow's `check-tag` refuses every tag not on `main`. This lets a patch tagged on its line's release branch through, checked against that branch instead. ## What changed - `.forgejo/workflows/release.yml`, the version job: for a tag `vX.Y.Z` whose commit is on `origin/release/vX.Y`, `check-tag` runs with `--main origin/release/vX.Y`; every other tag is checked against `origin/main` as before. The rest of `check-tag` is unchanged: the number has to be above every release there is, and as high as the commits since the last stable call for. - Only this branch's workflow changes. Standardizing release branches and `.1` cherry-picks in Tooling (`release.py`, RELEASING.md, the release skill) comes as its own pull request there. ## Tests - Dry run on a clone with a local `v1.3.1` tag on this commit, against the real release list: `check-tag v1.3.1 --main origin/release/v1.3` → `v1.3.1: ok (stable channel)`; with `--main origin/main` → refused, "not on main", as before. - Not run in CI yet: the first run is the v1.3.1 tag itself. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci(release): a patch tagged on its line's release branch (release/vX.Y) is checked against that branch, not main
All checks were successful
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 20s
ad75e150ec
v1.3.1 is cut from release/v1.3 (v1.3.0 and #289), which main does not hold: check-tag refused every tag not on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean merged commit 23a9e6d562 into release/v1.3 2026-11-26 07:46:27 +00:00
HumanBean deleted branch ci/release-branch-tags 2026-11-26 07:46:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher!290
No description provided.