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 87b41ca commit b907a1bCopy full SHA for b907a1b
package.json
@@ -33,6 +33,7 @@
33
"suppose"
34
],
35
"devDependencies": {
36
+ "ci-publish": "^1.3.0",
37
"exclfs": "piranna/exclfs",
38
"jocker": "^0.0.0",
39
"libfuse": "^2.9.8-3",
scripts/BigRedButton
@@ -19,6 +19,12 @@ eval MACHINE=raspi2 $BUILD || exit 3
19
# Upload release to GitHub
20
#
21
22
-if [ "$GITHUB_TOKEN" ]; then
23
- prebuild --upload-all $GITHUB_TOKEN || exit 10
+if [ "$BRANCH_NAME" = "master" ]; then
+ if [ "$GITHUB_TOKEN" ]; then
24
+ prebuild --upload-all $GITHUB_TOKEN || exit 10
25
+ fi
26
+
27
+ if [ "$NPM_TOKEN" ]; then
28
+ ci-publish
29
30
fi
0 commit comments