Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- commithash=$(git rev-parse --verify HEAD)
- GOOS=linux go build -ldflags "-X main.commithash=$commithash" .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement