diff --git a/.travis.yml b/.travis.yml index 48dba7bde..6bb7efe58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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";