From ee1055497b51321bf44c7acdbd7daa9689202e7f Mon Sep 17 00:00:00 2001 From: Amitosh Swain Mahapatra Date: Sun, 27 Jan 2019 12:49:48 +0530 Subject: [PATCH] Update node-pre-gyp-github to v1.4.3 --- .travis.yml | 2 +- appveyor.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53209452..68af5307 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,4 +34,4 @@ install: true script: npm test after_success: - - if [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then echo "Publishing"; npm install node-pre-gyp-github@1.3.1; ./node_modules/.bin/node-pre-gyp configure; ./node_modules/.bin/node-pre-gyp build; ./node_modules/.bin/node-pre-gyp package; ./node_modules/.bin/node-pre-gyp-github publish --release; fi; + - if [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then echo "Publishing"; npm install node-pre-gyp-github@1.4.3; ./node_modules/.bin/node-pre-gyp configure; ./node_modules/.bin/node-pre-gyp build; ./node_modules/.bin/node-pre-gyp package; ./node_modules/.bin/node-pre-gyp-github publish --release; fi; diff --git a/appveyor.yml b/appveyor.yml index acfe892b..83b3266d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,5 +45,10 @@ after_test: - .\node_modules\.bin\node-pre-gyp package on_success: - - ps: if ($env:APPVEYOR_REPO_TAG_NAME -match '^v(0|[1-9]+)\.(0|[1-9]+)\.(0|[1-9]+)$') { echo "Publishing"; npm install node-pre-gyp-github@1.3.1; ./node_modules/.bin/node-pre-gyp-github publish --release } + - ps: > + if ($env:NODE_PRE_GYP_GITHUB_TOKEN -ne $null -and $env:APPVEYOR_REPO_TAG_NAME -match '^v(0|[1-9]+)\.(0|[1-9]+)\.(0|[1-9]+)$') { + echo "Publishing $env:APPVEYOR_REPO_TAG_NAME" + npm install node-pre-gyp-github@1.4.3 + ./node_modules/.bin/node-pre-gyp-github publish --release + }