Fix release script version calculation (#1737)

This commit is contained in:
David Simansky 2022-09-21 17:41:10 +02:00 committed by GitHub
parent c059e0e5c8
commit 58f686bf92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,10 +18,10 @@
# at https://github.com/knative/hack
source $(dirname $0)/../vendor/knative.dev/hack/release.sh
source $(dirname $0)/build-flags.sh
function build_release() {
# Env var exported by hack/build-flags.sh
source $(dirname $0)/build-flags.sh
local ld_flags="${KN_BUILD_LD_FLAGS:-}"
export CGO_ENABLED=0