[#695] Only build static image on non-SNAPSHOTs
This commit is contained in:
parent
f4478769df
commit
cbe1210e62
1 changed files with 2 additions and 3 deletions
|
|
@ -161,9 +161,8 @@ jobs:
|
|||
- run:
|
||||
name: "Short circuit on SNAPSHOT"
|
||||
command: |
|
||||
cat resources/BABASHKA_VERSION | grep SNAPSHOT
|
||||
status=$?
|
||||
if test $status -eq 0
|
||||
VERSION=$(cat resources/BABASHKA_VERSION)
|
||||
if [[ "$VERSION" == *-SNAPSHOT ]]
|
||||
then
|
||||
circleci task halt
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue