Updated docker image build script so that it sets shlink version to 'latest' when source branch is develop

This commit is contained in:
Alejandro Celaya 2019-12-09 18:16:57 +01:00
parent 83757ed390
commit 83b9160ab1

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -ex
if [[ ${SOURCE_BRANCH} == 'master' ]]; then
if [[ ${SOURCE_BRANCH} == 'develop' ]]; then
SHLINK_RELEASE='latest'
else
SHLINK_RELEASE=${SOURCE_BRANCH#?}