Skip to content

Commit 9020b57

Browse files
committed
fix after_success check
1 parent a91f314 commit 9020b57

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/after_success.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ fi
1212
COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
1313
PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
1414

15-
echo ${COMMIT_MESSAGE}
16-
echo ${PACKAGE_JSON_VERSION}
17-
18-
if [[ ${TRAVIS_TAG} == v${PACKAGE_JSON_VERSION} ]]; then
15+
if [[ ${COMMIT_MESSAGE} == v${PACKAGE_JSON_VERSION} ]]; then
1916
echo "running prebuild"
2017
nvm use --delete-prefix ${NODE_VERSION}
2118
node ./node_modules/prebuild/bin.js --all --strip -u ${GITHUB_TOKEN}

0 commit comments

Comments
 (0)