Skip to content

Commit

Permalink
handle undefined variable in release scripts (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjerad authored Oct 18, 2022
1 parent cc36c3d commit 838e8d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build-and-push-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi

version="$(make -s -f "${makefile_path}" version)"
platforms="linux/amd64"
image_repository="${KO_DOCKER_REPO}"
image_repository="${KO_DOCKER_REPO:-}"
goproxy="direct|https://proxy.golang.org"

usage=$(cat << EOM
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync-readme-to-ecr-public.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! command -v jq; then
fi

region="${AWS_REGION:-us-east-1}"
repo_root="${KO_DOCKER_REPO}"
repo_root="${KO_DOCKER_REPO:-}"
version="$(make -s -f "${makefile_path}" version)"

usage=$(cat << EOM
Expand Down

0 comments on commit 838e8d4

Please sign in to comment.