Skip to content

Commit 9069267

Browse files
chore: make release deterministic by skipping pre-commit hooks
Run release with SKIP_SIMPLE_GIT_HOOKS=1 to avoid hook-based rewrites of generated changelog content. Keep lint-staged split by file type and remove markdownlint --fix from the pre-commit markdown path.
1 parent 56ad4f0 commit 9069267

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"prepare": "simple-git-hooks || true",
3030
"prettier": "prettier . --check",
3131
"prettier:fix": "prettier . --write",
32-
"release": "commit-and-tag-version --commit-all",
32+
"release": "SKIP_SIMPLE_GIT_HOOKS=1 commit-and-tag-version --commit-all",
3333
"stylelint": "stylelint **/*.css",
3434
"stylelint:fix": "stylelint **/*.css --fix",
3535
"test": "node --run lint && node --run prettier && node --run test:unit",
@@ -45,7 +45,6 @@
4545
"prettier --write"
4646
],
4747
"*.md": [
48-
"markdownlint-cli2 --fix",
4948
"prettier --write"
5049
]
5150
},

0 commit comments

Comments
 (0)