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 0cd9f2e commit 334cd9aCopy full SHA for 334cd9a
.circleci/config.yml
@@ -8,7 +8,7 @@ aliases:
8
fi
9
COMMIT_MESSAGE=`git log --format=%s -n 1 $CIRCLE_SHA1`
10
./node_modules/.bin/node-pre-gyp rebuild package testpackage $GYP_ARGS
11
- if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]]; then
+ if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]] && [[ "$PUBLISH" == "true" ]]; then
12
./node_modules/.bin/node-pre-gyp package testpackage $GYP_ARGS
13
./node_modules/.bin/node-pre-gyp publish $GYP_ARGS
14
else
@@ -125,6 +125,8 @@ version: 2
125
jobs:
126
build-14.11.0:
127
<<: *common-build
128
+ environment:
129
+ PUBLISH: true
130
docker:
131
- image: circleci/node:14.11.0
132
@@ -177,6 +179,8 @@ jobs:
177
179
178
180
build-macos-14.11.0:
181
<<: *common-macos
182
183
184
environment:
185
NODE_VERSION: "14.11.0"
186
0 commit comments