Skip to content

Commit 96921e6

Browse files
committed
add bump/release scripts
1 parent 21a211c commit 96921e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
"type-check": "vue-tsc --noEmit",
3737
"test": "vitest",
3838
"update-deps": "npx npm-check-updates -u && npm install",
39-
"bump": "npx bump && git add . && git commit -m 'bump version' && git push && git push --tags"
39+
"bump": "npm version patch && git push origin main --follow-tags",
40+
"bump:minor": "npm version minor && git push origin main --follow-tags",
41+
"bump:major": "npm version major && git push origin main --follow-tags",
42+
"release": "gh release create v$(node -p \"require('./package.json').version\") --title v$(node -p \"require('./package.json').version\") --generate-notes"
4043
},
4144
"dependencies": {
4245
"@servicestack/client": "^2.1.13",

0 commit comments

Comments
 (0)