Skip to content

Commit

Permalink
Update travis to push tags for release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
disrani-px committed Sep 19, 2018
1 parent fe2b638 commit f5a5e91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ before_install:
- sudo apt-get install go-md2man -y
script:
- |
if [ "${TRAVIS_BRANCH}" == "master" ]; then
export DOCKER_HUB_STORK_TAG=master
export DOCKER_HUB_STORK_TEST_TAG=latest
if [ "${TRAVIS_BRANCH}" == "1.1" ]; then
export DOCKER_HUB_STORK_TAG="${TRAVIS_BRANCH}"-dev
export DOCKER_HUB_STORK_TEST_TAG="${TRAVIS_BRANCH}"
else
export DOCKER_HUB_STORK_TAG=`git rev-parse --short HEAD`
export DOCKER_HUB_STORK_TEST_TAG=`git rev-parse --short HEAD`
Expand Down

0 comments on commit f5a5e91

Please sign in to comment.