Skip to content

Commit 886b1da

Browse files
committed
hack: treat unset variables as an error
Signed-off-by: CrazyMax <[email protected]>
1 parent 63e915e commit 886b1da

File tree

1 file changed

+3
-3
lines changed
  • frontend/dockerfile/cmd/dockerfile-frontend/hack

1 file changed

+3
-3
lines changed

frontend/dockerfile/cmd/dockerfile-frontend/hack/release

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
22

33
. $(dirname $0)/../../../../../hack/util
4-
set -e
4+
set -eu
55

6-
: ${PLATFORMS=}
7-
: ${DAILY_TARGETS=}
6+
: "${PLATFORMS=}"
7+
: "${DAILY_TARGETS=}"
88

99
usage() {
1010
echo "$0 (master|tag|daily) (tag|channel) <repo> [push]"

0 commit comments

Comments
 (0)