Skip to content

Commit aef403e

Browse files
nsheapsclaude
andcommitted
fix: only commit changelog, not bin/git-wt
Add before:git:commit hook to unstage bin/git-wt so release-it only commits the changelog. The embedded version stays in working dir for the release asset upload. Co-Authored-By: Claude Code (User Settings, in: ${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com>
1 parent 47dedb1 commit aef403e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.release-it.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"hooks": {
3+
"before:git:commit": "git reset HEAD bin/git-wt"
4+
},
25
"git": {
36
"commitMessage": "chore: release v${version} [skip ci]",
47
"tagName": "v${version}",

0 commit comments

Comments
 (0)