Skip to content

Commit c8ef60d

Browse files
committed
fail on error
1 parent a2bf6eb commit c8ef60d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/build-extension.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -euo pipefail
4+
35
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
46

57
HEROKUSTACK="$1" # e.g. "heroku-22"
@@ -50,4 +52,4 @@ docker run --rm \
5052
${HEROKUSTACK} ${COMMAND} \
5153
${OVERWRITE_FLAG} extensions/no-debug-non-zts-${PHP_APIVERSION}/${EXTENSION_NAME}-${EXTENSION_VERSION}
5254

53-
set +x
55+
set +x

scripts/build-lib.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -euo pipefail
4+
35
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
46

57
HEROKUSTACK=$1 # e.g. "heroku-24"

0 commit comments

Comments
 (0)