etcd/scripts/release-version
Brandon Philips ab9c0448c9 fix(version): make the version numbers const
simple fix, thanks to @fmilo in #coreos
2013-08-06 16:03:45 -07:00

9 lines
101 B
Bash
Executable File

#!/bin/sh
VER=$(git describe --tags HEAD)
cat <<EOF
package main
const releaseVersion = "$VER"
EOF