Skip to content

Commit bc1bec7

Browse files
committed
refactor: update release scripts
1 parent e4c8e99 commit bc1bec7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "vuepress-plugin-demo-container",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"description": "Vuepress plugin for demo block.",
55
"main": "src/index.js",
66
"scripts": {
7-
"release": "standard-version",
7+
"release": "standard-version && git push --follow-tags origin master",
8+
"release:minor": "standard-version --release-as minor && git push --follow-tags origin master",
9+
"release:major": "standard-version --release-as major && git push --follow-tags origin master",
810
"docs:dev": "nodemon --ext md,vue,js --watch .vuepress --watch . --exec vuepress dev docs --no-cache --debug",
911
"docs:build": "vuepress build docs",
1012
"docs:build-preview": "vuepress build docs && anywhere -d docs/.vuepress/dist/"

0 commit comments

Comments
 (0)