mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-03 11:45:45 +00:00
Encode git version info into binary and user agent
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
10
hack/get-ldflags.sh
Executable file
10
hack/get-ldflags.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||
source "${KUBE_ROOT}/hack/lib/version.sh"
|
||||
|
||||
kube::version::ldflags
|
||||
Reference in New Issue
Block a user