mark2web/build.sh
Sebastian Frank 2bb892175a
version flag
2019-02-18 13:05:30 +01:00

4 lines
155 B
Bash
Executable File

#!/bin/sh
CGO_ENABLED=1 go build -ldflags "-X main.Version=1.2.3 -X main.GitHash=`git rev-parse HEAD` -X main.BuildTime=`date -u '+%Y-%m-%d_%I:%M:%S%p'`"