diff --git a/Makefile b/Makefile index dc14a1a0..920a4e2e 100644 --- a/Makefile +++ b/Makefile @@ -333,8 +333,10 @@ endif # if BUILD_ID is empty, then we don't append it to the binary name ifeq ($(BUILD_ID),) cp $(BINARY_NAME) release/$(BINARY_NAME)-$(OS)-$(ARCH) + shasum -a 256 release/$(BINARY_NAME)-$(OS)-$(ARCH) > release/$(BINARY_NAME)-$(OS)-$(ARCH).sha256 else cp $(BINARY_NAME) release/$(BINARY_NAME)-$(BUILD_ID)-$(OS)-$(ARCH) + shasum -a 256 release/$(BINARY_NAME)-$(BUILD_ID)-$(OS)-$(ARCH) > release/$(BINARY_NAME)-$(BUILD_ID)-$(OS)-$(ARCH).sha256 endif osx-signed: build