Skip to content

ci(release): push only the release tag, never the release branch - #241

Merged
kazo0 merged 1 commit into
release/stable/7.0from
dev-sb/release-tag-only
Nov 15, 2026
Merged

kazo0 merged 1 commit into
release/stable/7.0from
dev-sb/release-tag-only

Conversation

@kazo0

@kazo0 kazo0 commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): none

PR Type

  • Build or CI related changes

What is the current behavior?

What is the new behavior?

  • The release job stamps the version in a local commit and pushes it as the release tag only: git push origin HEAD:refs/tags/<version>. Nothing is pushed to the protected branch, and the rulesets cover branches only.
  • gh release create --verify-tag publishes that tag.
  • The release branch keeps the last stamped version (7.0.0). Agents read the version from main, which the existing marketplace PR moves to the new tag after the release is published.

Reviewer's guide

  • Start here: .github/workflows/release.yml. Against the workflow before ci(release): stamp the version through a PR on protected release branches #239, the only changes are the tag push in place of the branch push and --verify-tag.
  • Watch for: the tag push with GITHUB_TOKEN is untested; the first approved run is the test.
  • Merging this starts a release run that waits for plugin-release approval and publishes 7.0.1.

PR Checklist

  • Associated with an issue (GitHub or internal)

🤖 Generated with Claude Code

- The version PR from #239 cannot pass the required checks: they need source.ref to name a published release, which a stamp PR never does.
- The release job now commits the stamp locally and pushes it as the release tag only; release branches are protected and stay unstamped.
- This puts the release job back as it was before #239, apart from those two lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kazo0 kazo0 mentioned this pull request Nov 15, 2026
@kazo0
kazo0 merged commit eeb2ae4 into release/stable/7.0 Nov 15, 2026
6 checks passed
@kazo0
kazo0 deleted the dev-sb/release-tag-only branch November 15, 2026 18:58
kazo0 added a commit that referenced this pull request Nov 15, 2026
- Forward port of #241 from release/stable/7.0, so release branches cut from main carry it.
- release/stable/* is protected, so the release job pushes the stamp commit as the tag only.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant