From 008ff4210313d91f03c0ce68b582e2f91f7500ec Mon Sep 17 00:00:00 2001 From: Trinity Date: Wed, 13 Nov 2024 12:10:31 +0700 Subject: [PATCH] fix release version in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 42d83560..f1d51284 100644 --- a/Makefile +++ b/Makefile @@ -206,7 +206,7 @@ release-dry-run: -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 +222,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