hishtory/scripts/client-ldflags
2022-04-09 14:37:21 -07:00

5 lines
144 B
Bash
Executable File

#!/usr/bin/env bash
GIT_HASH=$(git rev-parse HEAD)
echo "-X main.GitCommit=$GIT_HASH -X main.Version=`cat VERSION` -w -extldflags \"-static\""