mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
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: https://github.com/nodejs/node/pull/14179 Fixes: https://github.com/nodejs/node/issues/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>
This commit is contained in:
parent
2309f3aaa6
commit
e36166bd18
3
Makefile
3
Makefile
@ -808,6 +808,9 @@ $(BINARYTAR): release-only
|
||||
cp README.md $(BINARYNAME)
|
||||
cp LICENSE $(BINARYNAME)
|
||||
cp CHANGELOG.md $(BINARYNAME)
|
||||
ifeq ($(OSTYPE),darwin)
|
||||
SIGN="$(CODESIGN_CERT)" PKGDIR="$(BINARYNAME)" bash tools/osx-codesign.sh
|
||||
endif
|
||||
tar -cf $(BINARYNAME).tar $(BINARYNAME)
|
||||
$(RM) -r $(BINARYNAME)
|
||||
gzip -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user