File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 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" ,
2121 "release:patch" : " npm version patch -m 'Release %s' && npm publish" ,
22- "postpublish" : " cd example && npm install -f vue-notion@latest && git add --all && git commit -m 'Update example' && git push --tags " ,
22+ "postpublish" : " ./scripts/postpublish.sh " ,
2323 "prepare" : " rm -rf dist && npm run build"
2424 },
2525 "dependencies" : {
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ GIT_TAG=$( git describe --abbrev=0 --tags)
4+
5+ $( cd example && npm install -f vue-notion@latest)
6+
7+ git add --all
8+ git commit -m ' Update example'
9+ git push --tags
10+
11+ gh release create $GIT_TAG -t " $GIT_TAG "
You can’t perform that action at this time.
0 commit comments