Skip to content

Commit 4a07792

Browse files
committed
push latest if tag being pushed is latest
1 parent 48139b4 commit 4a07792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ after_success:
2020
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
2121
VERSION="$TRAVIS_TAG" make release;
2222
fi
23-
- if [ "$TRAVIS_TAG" == "$LATEST" ]; then
23+
- if [[ "$TRAVIS_TAG" == "$LATEST"* ]]; then
2424
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
2525
VERSION="$TRAVIS_TAG" make tag_latest;
2626
VERSION="latest" make release;

0 commit comments

Comments
 (0)