Skip to content

Commit

Permalink
fix version inject
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Dec 8, 2024
1 parent 9d0a18a commit c46b50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if hash upx 2>/dev/null; then
UPX=true
fi

LDFLAGS="-X main.VERSION=$VERSION -s -w"
LDFLAGS="-X 'github.com/xtaci/grasshopper/cmd/grasshopper/cmd.VERSION=$VERSION' -s -w"
GCFLAGS=""

# AMD64
Expand Down

0 comments on commit c46b50e

Please sign in to comment.