mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-25 09:43:20 +01:00
Fix the ldflags attempt #2
This commit is contained in:
parent
f3f01583a1
commit
f7c95f95b4
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ acttest:
|
||||
release:
|
||||
expr `cat VERSION` + 1 > VERSION
|
||||
git add VERSION
|
||||
git commit -m "Bump hishtory version"
|
||||
git commit -m "Bump hishtory version to `cat VERSION`"
|
||||
git tag v0.`cat VERSION`
|
||||
git push
|
||||
git push --tags
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GIT_HASH=$(git rev-parse HEAD)
|
||||
echo "-X main.GitCommit=$GIT_HASH -X lib.Version=`cat VERSION` -w -extldflags \"-static\""
|
||||
echo "-X main.GitCommit=$GIT_HASH -X github.com/ddworken/hishtory/client/lib.Version=`cat VERSION` -w -extldflags \"-static\""
|
||||
|
Loading…
Reference in New Issue
Block a user