mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-28 04:22:04 +03:00
Updated docker image build script so that it sets shlink version to 'latest' when source branch is develop
This commit is contained in:
parent
83757ed390
commit
83b9160ab1
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
if [[ ${SOURCE_BRANCH} == 'master' ]]; then
|
if [[ ${SOURCE_BRANCH} == 'develop' ]]; then
|
||||||
SHLINK_RELEASE='latest'
|
SHLINK_RELEASE='latest'
|
||||||
else
|
else
|
||||||
SHLINK_RELEASE=${SOURCE_BRANCH#?}
|
SHLINK_RELEASE=${SOURCE_BRANCH#?}
|
||||||
|
|
Loading…
Add table
Reference in a new issue