Skip to content

Commit 0ebb4df

Browse files
evanlucasFishrock123
authored andcommitted
build: codesign tarball binary on macOS
Previously, we were signing the binary that was released in the .pkg, but not the binary released in the tarball. PR-URL: #14179 Fixes: #11936 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 5ab4471 commit 0ebb4df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,9 @@ $(BINARYTAR): release-only
808808
cp README.md $(BINARYNAME)
809809
cp LICENSE $(BINARYNAME)
810810
cp CHANGELOG.md $(BINARYNAME)
811+
ifeq ($(OSTYPE),darwin)
812+
SIGN="$(CODESIGN_CERT)" PKGDIR="$(BINARYNAME)" bash tools/osx-codesign.sh
813+
endif
811814
tar -cf $(BINARYNAME).tar $(BINARYNAME)
812815
$(RM) -r $(BINARYNAME)
813816
gzip -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.gz

0 commit comments

Comments
 (0)