We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3834b2b + 886b1da commit 177d8ccCopy full SHA for 177d8cc
frontend/dockerfile/cmd/dockerfile-frontend/hack/release
@@ -1,10 +1,10 @@
1
#!/usr/bin/env bash
2
3
. $(dirname $0)/../../../../../hack/util
4
-set -e
+set -eu
5
6
-: ${PLATFORMS=}
7
-: ${DAILY_TARGETS=}
+: "${PLATFORMS=}"
+: "${DAILY_TARGETS=}"
8
9
usage() {
10
echo "$0 (master|tag|daily) (tag|channel) <repo> [push]"
@@ -23,7 +23,7 @@ parseTag() {
23
fi
24
local suffix=$(echo $1 | awk -F- '{print $NF}')
25
local tagf=./frontend/dockerfile/release/$suffix/tags
26
- if [ "$sufffix" == "$1" ] || [ ! -f $tagf ]; then
+ if [ "$suffix" == "$1" ] || [ ! -f $tagf ]; then
27
suffix="mainline"
28
29
0 commit comments