Skip to content

Commit

Permalink
Enable deploy of four number version
Browse files Browse the repository at this point in the history
  • Loading branch information
bernatx committed Sep 30, 2020
1 parent d2d15e4 commit 0c97e9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Util/BuildTools/Deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ if [[ ${REPOSITORY_TAG} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
log "Detected tag ${REPOSITORY_TAG}."
DEPLOY_NAME=CARLA_${REPOSITORY_TAG}.tar.gz
DOCKER_TAG=${REPOSITORY_TAG}
elif [[ ${REPOSITORY_TAG} =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
log "Detected tag ${REPOSITORY_TAG}."
DEPLOY_NAME=CARLA_${REPOSITORY_TAG}.tar.gz
DOCKER_TAG=${REPOSITORY_TAG}
else
S3_PREFIX=${S3_PREFIX}/Dev
DEPLOY_NAME=$(git log --pretty=format:'%cd_%h' --date=format:'%Y%m%d' -n 1).tar.gz
Expand Down

0 comments on commit 0c97e9a

Please sign in to comment.