Skip to content

Commit 130c5de

Browse files
authored
Update travis yml so that hotfix/ branches are released to hotfix channel
1 parent 09bcfba commit 130c5de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ before_deploy:
2525
if [ -z "$BEFORE_DEPLOY_RAN" ]; then
2626
npm --no-git-tag-version version $RELEASE_VERSION
2727
if [ "$TRAVIS_BRANCH" == "master" ]; then export NPM_TAG=stable; fi
28+
if [ "$TRAVIS_BRANCH" == hotfix/* ]; then export NPM_TAG=hotfix; fi
2829
git config --global user.email $(git log --pretty=format:"%ae" -n1)
2930
git config --global user.name $(git log --pretty=format:"%an" -n1)
3031
export BEFORE_DEPLOY_RAN=true

0 commit comments

Comments
 (0)