hishtory/scripts/client-ldflags

5 lines
214 B
Plaintext
Raw Permalink Normal View History

2022-04-09 07:45:49 +02:00
#!/usr/bin/env bash
GIT_HASH=$(git rev-parse HEAD)
2022-11-15 04:26:56 +01:00
echo "-X github.com/ddworken/hishtory/client/lib.GitCommit=$GIT_HASH -X github.com/ddworken/hishtory/client/lib.Version=`cat VERSION` -w -extldflags \"-static\""