Skip to content

fix: make release workflow resilient to version desync#40

Merged
cablate merged 1 commit intomainfrom
fix/release-version-resilience
Mar 14, 2026
Merged

fix: make release workflow resilient to version desync#40
cablate merged 1 commit intomainfrom
fix/release-version-resilience

Conversation

@cablate
Copy link
Owner

@cablate cablate commented Mar 14, 2026

Summary

Add git pull --rebase at two critical points in the release workflow:

  1. Before version bump — picks up previous release's version commit so npm version patch starts from the correct base
  2. Before git push — handles any commits pushed during the job

Combined with the concurrency group from PR #38, this makes the release pipeline resilient to rapid consecutive merges.

Test plan

🤖 Generated with Claude Code

Add git pull --rebase at two points:
1. Before version bump — picks up previous release's version commit
2. Before git push — handles any commits pushed during the job

This prevents the scenario where a queued release job bumps from
a stale version and collides with an already-published npm version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cablate cablate merged commit 5fdae71 into main Mar 14, 2026
1 check passed
@cablate cablate deleted the fix/release-version-resilience branch March 14, 2026 16:01
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