Skip to content

Commit 8e8a4cf

Browse files
committed
fix csp release script
1 parent 355fbe1 commit 8e8a4cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/release-csp.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ CSP_VERSION=$PLAIN_VERSION-csp
55
# update package.json
66
sed -i '' -e 's/\("version"\: "[0-9]*\.[0-9]*\.[0-9]*\)"/\1-csp"/' package.json
77

8-
# build
9-
npm run build
8+
# test + build
9+
npm test
1010

1111
# push to csp branch on github
1212
git add -A .
@@ -20,4 +20,4 @@ git push origin v$CSP_VERSION
2020
# publish to npm and update dist tags
2121
npm publish
2222
npm dist-tag add vue@$PLAIN_VERSION latest
23-
npm dist-tag add vue@CSP_VERSION csp
23+
npm dist-tag add vue@$CSP_VERSION csp

0 commit comments

Comments
 (0)