2020-07-20 04:21:47 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-08-25 01:07:34 +00:00
|
|
|
|
|
|
|
# Copyright 2020 VMware, Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-08-12 00:48:16 +00:00
|
|
|
set -euo pipefail
|
2020-08-25 01:07:34 +00:00
|
|
|
|
2020-08-12 00:48:16 +00:00
|
|
|
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
|
2020-07-20 04:21:47 +00:00
|
|
|
|
2020-08-12 00:48:16 +00:00
|
|
|
KUBE_ROOT="${ROOT}" # required by `hack/lib/version.sh`
|
|
|
|
source "${ROOT}/hack/lib/version.sh"
|
2020-07-20 04:21:47 +00:00
|
|
|
|
|
|
|
kube::version::ldflags
|