Skip to content

Commit 177d8cc

Browse files
authored
Merge pull request moby#3583 from crazy-max/hack-fix-typo-release
frontend: fix typo in release script
2 parents 3834b2b + 886b1da commit 177d8cc

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 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]"
@@ -23,7 +23,7 @@ parseTag() {
2323
fi
2424
local suffix=$(echo $1 | awk -F- '{print $NF}')
2525
local tagf=./frontend/dockerfile/release/$suffix/tags
26-
if [ "$sufffix" == "$1" ] || [ ! -f $tagf ]; then
26+
if [ "$suffix" == "$1" ] || [ ! -f $tagf ]; then
2727
suffix="mainline"
2828
fi
2929

0 commit comments

Comments
 (0)