We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2641c5 commit af9fd1bCopy full SHA for af9fd1b
package.json
@@ -59,6 +59,7 @@
59
],
60
"devDependencies": {
61
"async": "^2.1.4",
62
+ "ci-publish": "^1.3.0",
63
"download-manager": "^0.1.3",
64
"fs-extra": "^1.0.0",
65
"prebuild": "^6.0.0"
scripts/BigRedButton
@@ -38,11 +38,17 @@ tar -cf - ${PRODUCTS[@]} | gzip > $STEP_DIR || err 20
38
39
40
#
41
-# Upload release to GitHub
+# Upload release to GitHub and npm
42
43
44
-if [ "$GITHUB_TOKEN" ]; then
45
- prebuild --upload-all $GITHUB_TOKEN || exit 30
+if [ "$BRANCH_NAME" = "master" ]; then
+ if [ "$GITHUB_TOKEN" ]; then
46
+ prebuild --upload-all $GITHUB_TOKEN || exit 30
47
+ fi
48
+
49
+ if [ "$NPM_TOKEN" ]; then
50
+ ci-publish
51
52
fi
53
54
0 commit comments