Skip to content

ci(release): tag releases from merged release PRs in CI - #53

Merged
jo16oh merged 2 commits into
mainfrom
ci/tag-from-release-pr
Sep 24, 2026
Merged

jo16oh merged 2 commits into
mainfrom
ci/tag-from-release-pr

Conversation

@jo16oh

@jo16oh jo16oh commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Tags are created by hand with push-tag. Release tags are immutable, so a tag pushed on the wrong commit or version can never be taken back.

  • Release on a push to main that bumps package.json to a version with no tag yet
  • Verify the commit is a merged chore/release-X.Y.Z PR titled chore: release vX.Y.Z
  • Create the tag through the API only after the checks pass, then publish and release
  • Check the README.md and package.json claims on release PRs in CI
  • Remove push-tag and the pre-push hook

- replace `push-tag` and the pre-push claims hook
- check README and package.json claims on release PRs
@jo16oh
jo16oh merged commit 3d8bd54 into main Sep 24, 2026
3 checks passed
@jo16oh
jo16oh deleted the ci/tag-from-release-pr branch September 24, 2026 14:36
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