Skip to content

Commit

Permalink
Fix git tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Jan 9, 2024
1 parent 1b7ef29 commit c5f73e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"test": "node tests/run-tests.js",
"preversion--temp-disabled": "yarn test",
"push": "git push --follow-tags",
"postversion": "auto-changelog -p --hide-empty-releases && git add CHANGELOG.md && git commit --no-edit --amend && git tag -af \"v$(node -e \"console.log(require('./package.json').version)\")\" && echo \"REMEMBER TO USE YARN PUSH\""
"postversion": "auto-changelog -p --hide-empty-releases && git add CHANGELOG.md && git commit --no-edit --amend && yarn postversion-retag && echo \"REMEMBER TO USE YARN PUSH\"",
"postversion-retag": "git commit --no-edit --amend && node -e \"console.log('v'+require('./package.json').version)\" | xargs -I{} git tag -a -f {} -m {}"
},
"homepage": "https://github.com/burtek/eslint-config#readme",
"bugs": "https://github.com/burtek/eslint-config/issues",
Expand Down

0 comments on commit c5f73e9

Please sign in to comment.