mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
408 B
23 lines
408 B
9 years ago
|
#!/usr/bin/env bash
|
||
|
set -o errexit
|
||
|
set -o pipefail
|
||
|
|
||
|
[[ "$TRACE" ]] && set -x
|
||
|
|
||
|
readonly REPO=github.com/kubernetes/deployment-manager
|
||
|
readonly DIR="${GOPATH}/src/${REPO}"
|
||
|
|
||
|
source "${DIR}/scripts/common.sh"
|
||
|
|
||
|
if [[ -z "${VERSION:-}" ]]; then
|
||
|
VERSION=$(version_from_git)
|
||
|
fi
|
||
|
|
||
|
LDFLAGS="-s -X ${REPO}/pkg/version.DeploymentManagerVersion=${VERSION}"
|
||
|
|
||
|
echo "Build version: ${VERSION}"
|
||
|
|
||
|
build_binaries "$@"
|
||
|
|
||
|
exit 0
|