mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-20 20:56:42 +00:00
add "|| true" otherwise "set -e" kills us if the repo is clean
This commit is contained in:
@@ -13,7 +13,7 @@ set -x
|
||||
|
||||
VERSION=`cat ./VERSION`
|
||||
GIT_COMMIT=$(git rev-parse --short HEAD)
|
||||
GIT_CHANGES=$(test -n "`git status --porcelain`" && echo "+CHANGES")
|
||||
GIT_CHANGES=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)
|
||||
|
||||
# "bundles" indicate the different types of build artifacts: static binary, ubuntu package, etc.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user