Skip to content

Commit

Permalink
use VER
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Apr 23, 2019
1 parent fe9b173 commit e48d6ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rm -fv ydgo_*

# for normal unix env
for OS in darwin linux; do
CGO_ENABLED=0 GOARCH=amd64 GOOS=$OS go build -o ${BIN}_${OS} -ldflags "-s -w -X main.VERSION=$GITVER"
CGO_ENABLED=0 GOARCH=amd64 GOOS=$OS go build -o ${BIN}_${OS} -ldflags "-s -w -X main.VERSION=$VER"
done
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -o ${BIN}_windows.exe -ldflags "-s -w -X main.VERSION=$GITVER"
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -o ${BIN}_windows.exe -ldflags "-s -w -X main.VERSION=$VER"

0 comments on commit e48d6ef

Please sign in to comment.