Skip to content

Commit ba3b16e

Browse files
committed
chore: update release scripts to auto-push and publish
1 parent 7d73252 commit ba3b16e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@
5757
"prepublishOnly": "bun run build && bun run test:coverage",
5858
"postbuild": "chmod +x bin/lcoview.js",
5959
"commit": "cz",
60-
"release": "commit-and-tag-version",
61-
"release:minor": "commit-and-tag-version --release-as minor",
62-
"release:major": "commit-and-tag-version --release-as major",
63-
"release:patch": "commit-and-tag-version --release-as patch",
64-
"release:publish": "bun run release && git push --follow-tags origin main && npm publish"
60+
"release": "commit-and-tag-version && git push --follow-tags && bun publish",
61+
"release:minor": "commit-and-tag-version --release-as minor && git push --follow-tags && bun publish",
62+
"release:major": "commit-and-tag-version --release-as major && git push --follow-tags && bun publish",
63+
"release:patch": "commit-and-tag-version --release-as patch && git push --follow-tags && bun publish"
6564
},
6665
"dependencies": {
6766
"commander": "^12.0.0",

0 commit comments

Comments
 (0)