Skip to content

Commit

Permalink
also push major and major.minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ddavison committed Nov 18, 2016
1 parent 1ded4f8 commit fa3551e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ after_success:
- if [ "$TRAVIS_TAG" != "" ]; then
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
VERSION="$TRAVIS_TAG" make release;
a=( ${TRAVIS_TAG//./ });
major="${a[0]}";
minor="${a[1]}";
VERSION="$major" make release;
VERSION="$major.minor" make release;
fi
- if [[ "$TRAVIS_TAG" == "$LATEST"* ]]; then
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
Expand Down

0 comments on commit fa3551e

Please sign in to comment.