Skip to content

Describe the release commit before committing the version bump - #3

Merged
junkfactory merged 1 commit into
mainfrom
fix/tagsh-empty-wc
Sep 13, 2026
Merged

junkfactory merged 1 commit into
mainfrom
fix/tagsh-empty-wc

Conversation

@junkfactory

Copy link
Copy Markdown
Owner

Follow-up to #2.

Summary

  • On the v1.0.0 cut, tag.sh ran jj commit with an empty working copy: jj auto-created a fresh commit and the version bump stayed in the parent, leaving the tagged commit 5cb4 undescribed
  • tag.sh now describes the empty @ first when it has no description, so jj commit folds the bump into a properly-described chore: release vX.Y.Z commit

Test plan

  • bash -n syntax check
  • Next release cut exercises the described-commit path

On the v1.0.0 cut, tag.sh ran 'jj commit' with an empty working copy:
jj auto-created a fresh commit and the version bump stayed in the
parent, leaving the tagged commit undescribed. Describe the empty @
first when it has no description, so 'jj commit' folds the bump into
a properly-described 'chore: release vX.Y.Z' commit.
@junkfactory
junkfactory merged commit 0fcbbe3 into main Sep 13, 2026
3 checks passed
@junkfactory
junkfactory deleted the fix/tagsh-empty-wc branch September 13, 2026 07:49
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