We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc84349 + 65f9a6b commit 15253eaCopy full SHA for 15253ea
script/release
@@ -43,7 +43,7 @@ for ARCH in "amd64" "386" "arm64" "arm"; do
43
44
rm -f ${BINFILE}
45
46
- GOOS=${OS} GOARCH=${ARCH} go build github.com/${USER}/${REPO}
+ GOOS=${OS} GOARCH=${ARCH} go build -ldflags "-X main.gronVersion=${VERSION}" github.com/${USER}/${REPO}
47
48
if [[ "${OS}" == "windows" ]]; then
49
ARCHIVE="${BINARY}-${OS}-${ARCH}-${VERSION}.zip"
0 commit comments