Skip to content

Commit ce0da9f

Browse files
committed
only push up tags. we will use those for pushing to docker.
1 parent c338b61 commit ce0da9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ before_install:
1414
script:
1515
- make test
1616

17+
# only push up tags
1718
after_success:
18-
- if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
19+
- if [ "$TRAVIS_TAG" != "" ]; then
1920
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
20-
make generate_all;
2121
make release;
2222
fi

0 commit comments

Comments
 (0)