[#695] Only build static image on non-SNAPSHOTs
This commit is contained in:
parent
6b6493c4d8
commit
f4478769df
1 changed files with 9 additions and 0 deletions
|
|
@ -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" }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue