Skip to content

Commit 977fdce

Browse files
evanlucasMylesBorins
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 <refack@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 1a7e872 commit 977fdce

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
@@ -671,6 +671,9 @@ $(BINARYTAR): release-only
671671
cp README.md $(BINARYNAME)
672672
cp LICENSE $(BINARYNAME)
673673
cp CHANGELOG.md $(BINARYNAME)
674+
ifeq ($(OSTYPE),darwin)
675+
SIGN="$(CODESIGN_CERT)" PKGDIR="$(BINARYNAME)" bash tools/osx-codesign.sh
676+
endif
674677
tar -cf $(BINARYNAME).tar $(BINARYNAME)
675678
$(RM) -r $(BINARYNAME)
676679
gzip -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.gz

0 commit comments

Comments
 (0)