From ca23f069fb46272b0d8726a5dc0fb02ffa23b3e2 Mon Sep 17 00:00:00 2001 From: Trinity Date: Wed, 13 Nov 2024 15:15:57 +0700 Subject: [PATCH] fix release version in Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e497a8da..94c732d0 100644 --- a/Makefile +++ b/Makefile @@ -194,7 +194,7 @@ localnet-show-logstream: ############################################################################### PACKAGE_NAME:=github.com/realiotech/realio-network -GOLANG_CROSS_VERSION = v1.22 +GOLANG_CROSS_VERSION = v1.22.7 GOPATH ?= '$(HOME)/go' release-dry-run: docker run \ @@ -203,10 +203,10 @@ release-dry-run: -e CGO_ENABLED=1 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v `pwd`:/go/src/$(PACKAGE_NAME) \ - -v ${GOPATH}/pkg:/go/pkg \ + -v `pwd`/sysroot:/sysroot \ -w /go/src/$(PACKAGE_NAME) \ ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \ - --clean --skip=validate --skip=publish + --clean --skip=validate --skip=publish --snapshot release: @if [ ! -f ".release-env" ]; then \