gomuks/build.sh

3 lines
183 B
Bash
Raw Normal View History

2022-04-17 20:21:10 +02:00
#!/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'`'" "$@"