Fix tag pushing and GitHub release creation#4
Merged
Conversation
🐸 Bumpy Release Plan1 changeset(s) → 1 package(s) to release 🟢 Patch
This comment is maintained by bumpy. |
66198bd to
e49118b
Compare
`git push --follow-tags` only pushes annotated tags reachable from pushed commits. Since bumpy creates lightweight tags and may have no new commits, tags were silently not being pushed, causing `gh release create` to fail with "tag exists locally but has not been pushed". - Switch to `git push` + `git push --tags` to ensure lightweight tags are pushed - Pass `--target <SHA>` to `gh release create` as a fallback Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
e49118b to
178f8c3
Compare
Append -n suffix to aggregate release tags when multiple releases happen on the same day. Extract resolveAggregateTagAndTitle as a pure function. Add test coverage for git helpers and github release logic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The test failed in CI because `git push` requires a tracking branch. Add an initial `git push -u origin HEAD` to set up tracking. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git push --follow-tagsonly pushes annotated tags reachable from pushed commits — bumpy creates lightweight tags and may have no new commits to push, so tags were silently not being pushedgh release createthen failed with:tag exists locally but has not been pushedgit push+git push --tagsto ensure lightweight tags are pushed--target <SHA>togh release createas a fallback in case tags haven't propagatedTest plan
bumpy publish --dry-runstill logs expected tag/release info🐸 Generated with Claude Code