mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-18 10:49:54 +02:00
another attempt at ldflags
This commit is contained in:
4
scripts/client-ldflags
Executable file
4
scripts/client-ldflags
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GIT_HASH=$(git rev-parse HEAD)
|
||||
echo "-X main.GitCommit=$GIT_HASH -w -extldflags \"-static\""
|
Reference in New Issue
Block a user