mark2web/build.sh
Sebastian Frank 5409a62021
All checks were successful
the build was successful
CGI_ENABLED=0 in build.sh
2019-02-18 13:15:11 +01:00

4 lines
181 B
Bash
Executable File

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