diff --git a/Makefile b/Makefile index e3d75e4c..8ea446fc 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,11 @@ endif mv dist/litestream.zip dist/litestream-${LITESTREAM_VERSION}-darwin-amd64.zip openssl dgst -sha256 dist/litestream-${LITESTREAM_VERSION}-darwin-amd64.zip + GOOS=darwin GOARCH=arm64 CC="gcc -target arm64-apple-macos11" CGO_ENABLED=1 go build -v -ldflags "-s -w -X 'main.Version=${LITESTREAM_VERSION}'" -o dist/litestream ./cmd/litestream + gon etc/gon.hcl + mv dist/litestream.zip dist/litestream-${LITESTREAM_VERSION}-darwin-arm64.zip + openssl dgst -sha256 dist/litestream-${LITESTREAM_VERSION}-darwin-arm64.zip + clean: rm -rf dist