#!/bin/sh

BRANCH=$( git rev-parse --abbrev-ref HEAD )
REVISION=$( git rev-parse --short HEAD )
KUBE_VERSION="0.12.0"

echo "// autogenerated. Don't edit!"
echo
echo "package version"
echo
echo "const ("
echo "  BRANCH = \"${BRANCH}\""
echo "  REVISION = \"${REVISION}\""
echo "  KUBEVERSION = \"${KUBE_VERSION}\""
echo ")"

