[#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:
|
- run:
|
||||||
name: "Short circuit on SNAPSHOT"
|
name: "Short circuit on SNAPSHOT"
|
||||||
command: |
|
command: |
|
||||||
cat resources/BABASHKA_VERSION | grep SNAPSHOT
|
VERSION=$(cat resources/BABASHKA_VERSION)
|
||||||
status=$?
|
if [[ "$VERSION" == *-SNAPSHOT ]]
|
||||||
if test $status -eq 0
|
|
||||||
then
|
then
|
||||||
circleci task halt
|
circleci task halt
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue