diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 0456a2bf..ad26dad5 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.22 + go-version: 1.22.5 check-latest: true - name: release dry run run: make release-dry-run diff --git a/Makefile b/Makefile index 494f9303..5c8d3aaf 100644 --- a/Makefile +++ b/Makefile @@ -194,7 +194,7 @@ localnet-show-logstream: ############################################################################### PACKAGE_NAME:=github.com/realiotech/realio-network -GOLANG_CROSS_VERSION = v1.20 +GOLANG_CROSS_VERSION = v1.22.7 GOPATH ?= '$(HOME)/go' release-dry-run: docker run \ @@ -203,10 +203,9 @@ 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 \ -w /go/src/$(PACKAGE_NAME) \ ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \ - --rm-dist --skip-validate --skip-publish --snapshot + --clean --skip=validate --skip=publish --snapshot release: @if [ ! -f ".release-env" ]; then \ @@ -222,7 +221,7 @@ release: -v `pwd`:/go/src/$(PACKAGE_NAME) \ -w /go/src/$(PACKAGE_NAME) \ ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \ - release --rm-dist --skip-validate + release --clean --skip=validate .PHONY: release-dry-run release