mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 23:14:06 +08:00
Update build.sh
This commit is contained in:
4
build.sh
4
build.sh
@@ -37,8 +37,8 @@ cd $cpath/server
|
||||
rm -rf ui
|
||||
cp -rf $cpath/web/ui .
|
||||
|
||||
flags="-v -trimpath -extldflags '-static' -tags osusergo,netgo,sqlite_omit_load_extension"
|
||||
ldflags="-s -w -X main.appVer=$ver -X main.commitId=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)"
|
||||
flags="-v -trimpath -tags osusergo,netgo,sqlite_omit_load_extension"
|
||||
ldflags="-s -w -extldflags '-static' -X main.appVer=$ver -X main.commitId=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)"
|
||||
|
||||
if [ "$github_action" == "github_action" ]; then
|
||||
echo "github_action"
|
||||
|
Reference in New Issue
Block a user