From 9f5fc6924ef7b39b09d7b228d231b6d1ead3c96a Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Sun, 2 Oct 2022 15:09:25 +0200 Subject: [PATCH] fix release maker --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eafedff..a053f9d 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,7 @@ buildlocal: go build release: - mkdir -p releases - $(foreach arch,$(archs), GOOS=$(arch) GOARCH=amd64 go build -x -o releases/$(tool)-$(arch)-amd64-$(version); sha256sum releases/$(tool)-$(arch)-amd64-$(version) | cut -d' ' -f1 > releases/$(tool)-$(arch)-amd64-$(version).sha256sum;) + ./mkrel.sh $(tool) $(version) install: buildlocal install -d -o $(UID) -g $(GID) $(PREFIX)/bin