Skip to content

docs: require merged PR before tagging a release - #54

Merged
davethegut merged 1 commit into
mainfrom
docs/fix-release-process
Jul 8, 2026
Merged

docs: require merged PR before tagging a release#54
davethegut merged 1 commit into
mainfrom
docs/fix-release-process

Conversation

@maxcold

@maxcold maxcold commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • CONTRIBUTING.md's documented release flow (npm version patch + git push origin --tags) only pushes the tag, not the commit — since main is protected and requires a PR, the version-bump commit never actually lands on main.
  • This is what caused v1.0.4 and v1.0.5 to be orphaned tags, disconnected from main's history, which in turn caused npm version patch to recompute from a stale version and collide with an already-released tag.
  • Updated the docs to bump the version on a branch, merge via PR, and only tag main's resulting commit.

npm version patch + git push origin --tags let a version bump commit
get tagged and released without ever landing on the protected main
branch, orphaning the tag (this happened with v1.0.4 and v1.0.5).
@maxcold
maxcold requested review from davethegut and niros1 July 8, 2026 09:18

@davethegut davethegut left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lgtm

@davethegut
davethegut merged commit 5e127f9 into main Jul 8, 2026
2 checks passed
@opauloh opauloh mentioned this pull request Jul 8, 2026
2 tasks
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.

2 participants