Skip to content

Commit 9062674

Browse files
committed
Update release script
1 parent 11708d2 commit 9062674

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tag-version-prefix=

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
1919
"build:postcss": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format postcss",
2020
"build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife",
21-
"release:patch": "npm version patch && npm publish",
22-
"postpublish": "cd example && npm install vue-notion@latest && git add --all && git commit -m 'Bump version' && git push && git push --tags",
21+
"release:patch": "npm version patch -m 'Release %s' && npm publish",
22+
"postpublish": "cd example && npm install vue-notion@latest && git add --all && git commit -m 'Update example' && git push --tags",
2323
"prepare": "rm -rf dist && npm run build"
2424
},
2525
"dependencies": {

0 commit comments

Comments
 (0)