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.
1 parent 13561bd commit 65f9a6bCopy full SHA for 65f9a6b
script/release
@@ -43,7 +43,7 @@ for ARCH in "amd64" "386" "arm64"; 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