mirror of https://github.com/knative/client.git
Fix release script version calculation (#1737)
This commit is contained in:
parent
c059e0e5c8
commit
58f686bf92
|
|
@ -18,10 +18,10 @@
|
||||||
# at https://github.com/knative/hack
|
# at https://github.com/knative/hack
|
||||||
|
|
||||||
source $(dirname $0)/../vendor/knative.dev/hack/release.sh
|
source $(dirname $0)/../vendor/knative.dev/hack/release.sh
|
||||||
source $(dirname $0)/build-flags.sh
|
|
||||||
|
|
||||||
function build_release() {
|
function build_release() {
|
||||||
# Env var exported by hack/build-flags.sh
|
# Env var exported by hack/build-flags.sh
|
||||||
|
source $(dirname $0)/build-flags.sh
|
||||||
local ld_flags="${KN_BUILD_LD_FLAGS:-}"
|
local ld_flags="${KN_BUILD_LD_FLAGS:-}"
|
||||||
|
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue