github.com/jpetazzo/etcd@v0.2.1-0.20140113055439-97f1363afac5/scripts/release-version (about)

     1  #!/bin/sh
     2  
     3  VER=$(git describe --tags HEAD)
     4  
     5  cat <<EOF
     6  package server
     7  const ReleaseVersion = "$VER"
     8  EOF