Skip to content

Commit 282a3e8

Browse files
committed
Remove extra GOFLAGS
Without vendor, the extra flags are not needed anymore
1 parent 6876d88 commit 282a3e8

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

hack/add-boilerplate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o nounset
1919
set -o pipefail
2020

2121
# shellcheck disable=SC1090
22-
source "$(GOFLAGS='-mod=mod' go run knative.dev/hack/cmd/script codegen-library.sh)"
22+
source "$(go run knative.dev/hack/cmd/script codegen-library.sh)"
2323

2424
USAGE=$(cat <<EOF
2525
Add boilerplate.<ext>.txt to all .<ext> files missing it in a directory.

hack/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
# shellcheck disable=SC1090
19-
source "$(GOFLAGS='-mod=mod' go run knative.dev/hack/cmd/script release.sh)"
19+
source "$(go run knative.dev/hack/cmd/script release.sh)"
2020

2121
declare -A COMPONENTS
2222
COMPONENTS=(

hack/update-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o nounset
1919
set -o pipefail
2020

2121
# shellcheck disable=SC1090
22-
source "$(GOFLAGS='-mod=mod' go run knative.dev/hack/cmd/script codegen-library.sh)"
22+
source "$(go run knative.dev/hack/cmd/script codegen-library.sh)"
2323

2424
echo "=== Update Codegen for ${MODULE_NAME}"
2525

hack/update-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ set -o nounset
1919
set -o pipefail
2020

2121
# shellcheck disable=SC1090
22-
source "$(GOFLAGS='-mod=mod' go run knative.dev/hack/cmd/script library.sh)"
22+
source "$(go run knative.dev/hack/cmd/script library.sh)"
2323

2424
go_update_deps "$@"

hack/verify-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o nounset
1919
set -o pipefail
2020

2121
# shellcheck disable=SC1090
22-
source "$(GOFLAGS='-mod=mod' go run knative.dev/hack/cmd/script library.sh)"
22+
source "$(go run knative.dev/hack/cmd/script library.sh)"
2323

2424
"${REPO_ROOT_DIR}"/hack/update-codegen.sh
2525

test/presubmit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
export DISABLE_MD_LINTING=1
2727

2828
# shellcheck disable=SC1090
29-
source "$(GOFLAGS='-mod=mod' go run knative.dev/hack/cmd/script presubmit-tests.sh)"
29+
source "$(go run knative.dev/hack/cmd/script presubmit-tests.sh)"
3030

3131
# TODO(mattmoor): integration tests
3232

0 commit comments

Comments
 (0)