diff --git a/.build.yml b/.build.yml index 3c11967..472897a 100644 --- a/.build.yml +++ b/.build.yml @@ -22,9 +22,7 @@ tasks: complete-build fi - version=$(echo "$tag" | tr -d 'v') - - make GOOS="darwin" ARCH="amd64" build-release - make GOOS="dawrin" ARCH="aarch64" build-release - make GOOS="linux" ARCH="amd64" build-release - make GOOS="windows" ARCH="amd64" build-release + make GOOS="darwin" ARCH="amd64" tag=$tag build-release + make GOOS="dawrin" ARCH="aarch64" tag=$tag build-release + make GOOS="linux" ARCH="amd64" tag=$tag build-release + make GOOS="windows" ARCH="amd64" tag=$tag build-release diff --git a/Makefile b/Makefile index 4e2bf3e..6f30b3e 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ build-release: build cp $(builddir)/yr* yr-$(VERSION)/ tar czf yr-$(VERSION)-$(GOOS)-$(ARCH).tar.gz yr-$(VERSION) - hut git artifact upload --rev $(tag) yr-$(VERSION)-$(GOOS)-$(ARCH).tar.gz + hut git artifact upload --rev $(TAG) yr-$(VERSION)-$(GOOS)-$(ARCH).tar.gz .PHONY: test test: