#!/bin/sh #go get -v REVISION=`git rev-parse --short=5 HEAD` echo $REVISION > REVISION go build -ldflags "-X main.gitVersion $REVISION" -v go install