Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
Update regex to allow "-beta.X" releases (#2714)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wałach authored and k8s-ci-robot committed Sep 27, 2019
1 parent 8dd97d7 commit e31b193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/hack/ci/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ docker login -u "${QUAY_USERNAME}" -p "${QUAY_PASSWORD}" quay.io

pushd ${REPO_ROOT_DIR}

if [[ "${TRAVIS_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+[a-z]*(-(r|R)(c|C)[0-9]+)*$ ]]; then
if [[ "${TRAVIS_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+[a-z]*((-beta.[0-9]+)|(-(r|R)(c|C)[0-9]+))?$ ]]; then
shout "Pushing images with tags '${TRAVIS_TAG}' and 'latest'."
TAG_VERSION="${TRAVIS_TAG}" VERSION="${TRAVIS_TAG}" MUTABLE_TAG="latest" make release-push svcat-publish
elif [[ "${TRAVIS_BRANCH}" == "master" ]]; then
Expand Down

0 comments on commit e31b193

Please sign in to comment.