diff --git a/script/release b/script/release index 4c24eec..31aad60 100755 --- a/script/release +++ b/script/release @@ -43,7 +43,7 @@ for ARCH in "amd64" "386" "arm64"; do rm -f ${BINFILE} - 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} if [[ "${OS}" == "windows" ]]; then ARCHIVE="${BINARY}-${OS}-${ARCH}-${VERSION}.zip"