Update travis yml so that hotfix/ branches are released to hotfix channel
This commit is contained in:
1 parent
09bcfba800
commit
130c5de4b0
1 file changed
+1
@@ -25,6 +25,7 @@ before_deploy:
|
||||
if [ -z "$BEFORE_DEPLOY_RAN" ]; then
|
||||
npm --no-git-tag-version version $RELEASE_VERSION
|
||||
if [ "$TRAVIS_BRANCH" == "master" ]; then export NPM_TAG=stable; fi
|
||||
if [ "$TRAVIS_BRANCH" == hotfix/* ]; then export NPM_TAG=hotfix; fi
|
||||
git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
||||
git config --global user.name $(git log --pretty=format:"%an" -n1)
|
||||
export BEFORE_DEPLOY_RAN=true
|
||||
|
||||
Reference in new issue
Block a user