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