Explorar o código

add "|| true" otherwise "set -e" kills us if the repo is clean

Jérôme Petazzoni %!s(int64=12) %!d(string=hai) anos
pai
achega
d750060f0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      make.sh

+ 1 - 1
make.sh

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