We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a375a2e commit 8f3b927Copy full SHA for 8f3b927
openshift/generate.sh
@@ -4,16 +4,7 @@ set -euo pipefail
4
5
repo_root_dir=$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..
6
7
-tmp_dir=$(mktemp -d)
8
-git clone --branch main https://github.com/openshift-knative/hack "$tmp_dir"
9
-
10
-pushd "$tmp_dir"
11
-go install github.com/openshift-knative/hack/cmd/generate
12
-popd
13
14
-rm -rf "$tmp_dir"
15
16
-$(go env GOPATH)/bin/generate \
+GOFLAGS='' go run github.com/openshift-knative/hack/cmd/generate@latest \
17
--root-dir "${repo_root_dir}" \
18
--generators dockerfile \
19
--additional-packages tzdata \
0 commit comments