Skip to content

Commit 655df43

Browse files
committed
improve csp release script
1 parent b12e21c commit 655df43

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build/release-csp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ git push origin v$CSP_VERSION
1919

2020
# publish to npm and update dist tags
2121
npm publish
22-
npm dist-tag add vue@$PLAIN_VERSION latest
22+
sleep 1
2323
npm dist-tag add vue@$CSP_VERSION csp
24+
npm dist-tag add vue@$PLAIN_VERSION latest
2425
npm view vue version dist-tags

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"cover": "karma start build/karma.cover.config.js",
3636
"sauce": "karma start build/karma.sauce.config.js",
3737
"sauce-all": "npm run sauce && npm run sauce -- 1 && npm run sauce -- 2",
38-
"release": "bash build/release.sh"
38+
"release": "bash build/release.sh",
39+
"release-csp": "bash build/release-csp.sh"
3940
},
4041
"dependencies": {
4142
"envify": "^3.4.0"

0 commit comments

Comments
 (0)