hishtory/scripts/client-ldflags

5 lines
114 B
Plaintext
Raw Normal View History

2022-04-09 07:45:49 +02:00
#!/usr/bin/env bash
GIT_HASH=$(git rev-parse HEAD)
echo "-X main.GitCommit=$GIT_HASH -w -extldflags \"-static\""