Skip to content

Commit ec29d99

Browse files
echo build flags and version in release logs (#357)
Signed-off-by: Paul S. Schweigert <[email protected]> Signed-off-by: Paul S. Schweigert <[email protected]> Co-authored-by: Paul S. Schweigert <[email protected]>
1 parent a269cb4 commit ec29d99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hack/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,18 @@
1919

2020
PLUGIN="kn-quickstart"
2121
VERSION_PACKAGE="knative.dev/kn-plugin-quickstart/internal/command"
22+
COMPONENT_PACKAGE="knative.dev/kn-plugin-quickstart/pkg/install"
2223

2324
source $(dirname $0)/../vendor/knative.dev/hack/release.sh
24-
source $(dirname $0)/build-flags.sh
2525

2626
function build_release() {
27+
source $(dirname $0)/build-flags.sh
2728
local ld_flags="$(build_flags $(dirname $0)/..)"
2829
local version="${TAG}"
2930
# Use vYYYYMMDD-<hash>-local for the version string, if not passed.
3031
[[ -z "${version}" ]] && version="v${BUILD_TAG}-local"
32+
echo "Building version: $version"
33+
echo "Using flags: $ld_flags"
3134

3235
export GO111MODULE=on
3336
export CGO_ENABLED=0

0 commit comments

Comments
 (0)