hishtory/scripts/client-ldflags

5 lines
143 B
Bash
Executable File

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