From ed68d941fbbcb109ecea1a29133d932b596dd67a Mon Sep 17 00:00:00 2001 From: Suyash Kumar Date: Sun, 26 Feb 2023 22:25:26 -0500 Subject: [PATCH] Add darwin arm64 GOARCH to dicomutil standard release (#265) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b0293310..caa70890 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,12 @@ release: $(MAKE) test GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.GitVersion=${VERSION}'" -o build/${BINARY}-linux-amd64 ./cmd/dicomutil; GOOS=darwin GOARCH=amd64 go build -ldflags="-X 'main.GitVersion=${VERSION}'" -o build/${BINARY}-darwin-amd64 ./cmd/dicomutil; + GOOS=darwin GOARCH=arm64 go build -ldflags="-X 'main.GitVersion=${VERSION}'" -o build/${BINARY}-darwin-arm64 ./cmd/dicomutil; GOOS=windows GOARCH=amd64 go build -ldflags="-X 'main.GitVersion=${VERSION}'" -o build/${BINARY}-windows-amd64.exe ./cmd/dicomutil; cd build; \ tar -zcvf ${BINARY}-linux-amd64.tar.gz ${BINARY}-linux-amd64; \ tar -zcvf ${BINARY}-darwin-amd64.tar.gz ${BINARY}-darwin-amd64; \ + tar -zcvf ${BINARY}-darwin-arm64.tar.gz ${BINARY}-darwin-arm64; \ zip -r ${BINARY}-windows-amd64.exe.zip ${BINARY}-windows-amd64.exe; .PHONY: bench