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 3355a9f commit 3f96db4Copy full SHA for 3f96db4
package.json
@@ -65,6 +65,7 @@
65
"devDependencies": {
66
"bin-man": "^0.2.0",
67
"bin-pwd": "^0.0.0",
68
+ "ci-publish": "^1.3.0",
69
"davius": "^0.0.1",
70
"dhcpjs": "^0.5.2",
71
"fs-extra": "^1.0.0",
scripts/BigRedButton
@@ -18,6 +18,12 @@ eval MACHINE=raspi2 $BUILD && $TEST || exit 3
18
# Upload release to GitHub
19
#
20
21
-if [ "$GITHUB_TOKEN" ]; then
22
- prebuild --upload-all $GITHUB_TOKEN || exit 10
+if [ "$BRANCH_NAME" = "master" ]; then
+ if [ "$GITHUB_TOKEN" ]; then
23
+ prebuild --upload-all $GITHUB_TOKEN || exit 10
24
+ fi
25
+
26
+ if [ "$NPM_TOKEN" ]; then
27
+ ci-publish
28
29
fi
0 commit comments