mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
feat: reproducible building
This commit is contained in:
parent
c0ab06e961
commit
08a982ee91
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -71,7 +71,7 @@ platform_to_env() {
|
|||
}
|
||||
|
||||
make_ldflags() {
|
||||
local ldflags="-s -w -X 'main.appDate=$(date -u '+%F %T')'"
|
||||
local ldflags="-buildid= -s -w -X 'main.appDate=$(date -u '+%F %T')'"
|
||||
if [ -n "$HY_APP_VERSION" ]; then
|
||||
ldflags="$ldflags -X 'main.appVersion=$HY_APP_VERSION'"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue