Update travis yml so that hotfix/ branches are released to hotfix channel

This commit is contained in:
Karishma Chadha authored and GitHub committed 2019-04-16 14:33:12 -04:00
1 parent 09bcfba800
commit 130c5de4b0
1 file changed
+1
+1
View File
@@ -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