mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Utilities/Release: Comment macOS signing script steps
This commit is contained in:
1 parent
be77e8f634
commit
3c20441554
1 file changed
+6
@@ -91,6 +91,7 @@ readonly vol_name="$(basename "${dmg%.dmg}")"
|
||||
readonly vol_path="/Volumes/$vol_name"
|
||||
hdiutil attach "${udrw_dmg}"
|
||||
|
||||
# Sign the application.
|
||||
codesign --verify --timestamp --options=runtime --verbose --force --deep \
|
||||
-s "$id" \
|
||||
--entitlements "$entitlements_xml" \
|
||||
@@ -102,8 +103,13 @@ codesign --verify --timestamp --options=runtime --verbose --force --deep \
|
||||
"$vol_path"/CMake.app/Contents/PlugIns/*/lib*.dylib \
|
||||
"$vol_path"/CMake.app
|
||||
|
||||
# Prepare an application archive.
|
||||
ditto -c -k --keepParent "$vol_path/CMake.app" "$tmpdir/CMake.app.zip"
|
||||
|
||||
# Notarize the application.
|
||||
xcrun notarytool submit "$tmpdir/CMake.app.zip" --keychain-profile "$keychain_profile" --wait
|
||||
|
||||
# Staple the notarization.
|
||||
xcrun stapler staple "$vol_path/CMake.app"
|
||||
|
||||
# Create a tarball of the volume next to the original disk image.
|
||||
|
||||
Reference in new issue
Block a user