Mark 0.17 stable

This commit is contained in:
Sandro Jäckel 2019-11-01 10:15:23 +01:00
parent b38750e4ac
commit 1b7decd8ce
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 3 additions and 4 deletions

View File

@ -16,8 +16,7 @@ jobs:
- bash -c 'shopt -s globstar; shellcheck **/*.sh' - bash -c 'shopt -s globstar; shellcheck **/*.sh'
- &build - &build
stage: build stage: build
# set EXTRA_TAG to latest,stable when no more experimental versions for 0.17 come out env: VERSION_SHORT=0.17 EXTRA_TAG=latest,stable
env: VERSION_SHORT=0.17 EXTRA_TAG=latest
script: script:
- ./build.sh $VERSION_SHORT - ./build.sh $VERSION_SHORT
- <<: *build - <<: *build

View File

@ -38,7 +38,7 @@ else
if [[ -n ${EXTRA_TAG:-} ]]; then if [[ -n ${EXTRA_TAG:-} ]]; then
IFS="," IFS=","
for TAG in $EXTRA_TAG; do for TAG in $EXTRA_TAG; do
TAGS+=" -t $DOCKER_REPO:$EXTRA_TAG" TAGS+=" -t $DOCKER_REPO:$TAG"
done done
fi fi
fi fi
@ -55,7 +55,7 @@ fi
# latest changes where made in the folder corosponding to the version we build, we are on master and don#t build a PR. # latest changes where made in the folder corosponding to the version we build, we are on master and don#t build a PR.
if [[ $(dirname "$(git diff --name-only HEAD^)") =~ $VERSION_SHORT ]] && [[ $TRAVIS_BRANCH == master ]] && [[ $TRAVIS_PULL_REQUEST_BRANCH == "" ]] || if [[ $(dirname "$(git diff --name-only HEAD^)") =~ $VERSION_SHORT ]] && [[ $TRAVIS_BRANCH == master ]] && [[ $TRAVIS_PULL_REQUEST_BRANCH == "" ]] ||
# we build a tag and we are not on master # we build a tag and we are not on master
[[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" ]] && [[ $TRAVIS_PULL_REQUEST_BRANCH == "" ]] || [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" ]] && [[ ${TRAVIS_PULL_REQUEST_BRANCH:-} == "" ]] ||
# we are not in CI # we are not in CI
[[ -z ${CI:-} ]]; then [[ -z ${CI:-} ]]; then