CI: Fail entire build script if any command fails (#1443)

At the moment, the build script exits with 0 even if any of the commands fail.
Setting `-e` fixes this.
This commit is contained in:
Thomas Eizinger 2021-07-22 19:56:50 +10:00 committed by GitHub
parent b339700dc8
commit 8eac89404e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -e
PHOTOPRISM_DATE=`date -u +%y%m%d`
PHOTOPRISM_VERSION=`git describe --always`