hishtory/scripts/client-ldflags
2022-11-16 08:03:23 -08:00

5 lines
214 B
Bash
Executable File

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