gomuks/build.sh
2022-04-17 21:21:10 +03:00

3 lines
183 B
Bash
Executable File

#!/bin/sh
go build -ldflags "-X main.Tag=$(git describe --exact-match --tags 2>/dev/null) -X main.Commit=$(git rev-parse HEAD) -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`'" "$@"