[#695] Only build static image on non-SNAPSHOTs

This commit is contained in:
Michiel Borkent 2021-01-03 10:56:21 +01:00
parent f4478769df
commit cbe1210e62

View file

@ -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