We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f451702 commit 944cf8aCopy full SHA for 944cf8a
build.sh
@@ -9,7 +9,7 @@ GITHASH=`git rev-parse HEAD 2>/dev/null`
9
BUILDAT=`date +%FT%T%z`
10
11
# Setup the -ldflags option for go build here, interpolate the variable values
12
-LDFLAGS="-X github.com/TruthHun/BookStack/utils.GitHash=${GITHASH} -X github.com/TruthHun/BookStack/utils.BuildAt=${BUILDAT} -X github.com/TruthHun/BookStack/utils.Version=${VERSION} -X myquant.cn/algoserv/algoserv/admin.Binary=true"
+LDFLAGS="-s -w -X github.com/TruthHun/BookStack/utils.GitHash=${GITHASH} -X github.com/TruthHun/BookStack/utils.BuildAt=${BUILDAT} -X github.com/TruthHun/BookStack/utils.Version=${VERSION} -X myquant.cn/algoserv/algoserv/admin.Binary=true"
13
14
##########
15
0 commit comments