File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 88 fi
99 COMMIT_MESSAGE=`git log --format=%s -n 1 $CIRCLE_SHA1`
1010 ./node_modules/.bin/node-pre-gyp rebuild package testpackage $GYP_ARGS
11- if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]]; then
11+ if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]] && [[ "$PUBLISH" == "true" ]] ; then
1212 ./node_modules/.bin/node-pre-gyp package testpackage $GYP_ARGS
1313 ./node_modules/.bin/node-pre-gyp publish $GYP_ARGS
1414 else
@@ -125,6 +125,8 @@ version: 2
125125jobs :
126126 build-14.11.0 :
127127 << : *common-build
128+ environment :
129+ PUBLISH : true
128130 docker :
129131 - image : circleci/node:14.11.0
130132
@@ -177,6 +179,8 @@ jobs:
177179
178180 build-macos-14.11.0 :
179181 << : *common-macos
182+ environment :
183+ PUBLISH : true
180184 environment :
181185 NODE_VERSION : " 14.11.0"
182186
You can’t perform that action at this time.
0 commit comments