chore: make postversion push only current branch

This commit is contained in:
robal
2023-03-24 10:19:45 +01:00
parent 7b582c9334
commit 7ffd65ffaa

View File

@@ -28,7 +28,7 @@
"prepublishOnly": "yarn lint",
"preversion": "yarn lint && yarn build",
"version": "yarn format && git add -A src",
"postversion": "git push && git push --tags",
"postversion": "git push origin HEAD && git push --tags",
"yalc:publish": "yarn build && yalc publish --push",
"test": "jest",
"test:unit": "jest ./src/__tests__/unit",