Skip to content

Commit

Permalink
fix: ci checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
wintbiit committed Sep 22, 2024
1 parent 2650f19 commit fd3ae3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ commitOffset=$(git rev-list $version..HEAD --count)

ldflags="-w -s -X 'util.version=$version' -X 'util.commit=$commit' -X 'util.commitOffset=$commitOffset'"

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags=$ldflags -o server_linux_amd64 .
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="$ldflags" -o server_linux_amd64 .

0 comments on commit fd3ae3c

Please sign in to comment.