2 lines
183 B
Bash
Executable file
2 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'`'" "$@"
|