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

This commit is contained in:
Michiel Borkent 2021-01-03 10:48:03 +01:00
parent 6b6493c4d8
commit f4478769df

View file

@ -158,6 +158,15 @@ jobs:
command: |
git submodule init
git submodule update
- run:
name: "Short circuit on SNAPSHOT"
command: |
cat resources/BABASHKA_VERSION | grep SNAPSHOT
status=$?
if test $status -eq 0
then
circleci task halt
fi
- restore_cache:
keys:
- linux-{{ checksum "project.clj" }}-{{ checksum ".circleci/config.yml" }}