You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2021/02/07 19:27:36 UTC

[directory-studio] branch master updated: DIRSTUDIO-1257 DIRSTUDIO-1264: Add notarization steps

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git


The following commit(s) were added to refs/heads/master by this push:
     new b87b2e2  DIRSTUDIO-1257 DIRSTUDIO-1264: Add notarization steps
b87b2e2 is described below

commit b87b2e250a5c341feecd7a23de0ae87368946de4
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun Feb 7 20:27:21 2021 +0100

    DIRSTUDIO-1257 DIRSTUDIO-1264: Add notarization steps
---
 README.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.md b/README.md
index 0042d46..888fc77 100644
--- a/README.md
+++ b/README.md
@@ -165,6 +165,13 @@ Test the build and sign process for distribution packages:
     cd dist
     ./dist.sh
 
+Test the notarization of the macOS installer (requires app-specific password generated at https://appleid.apple.com/):
+
+    cd target/dist/$VERSION
+    xcrun altool --notarize-app --primary-bundle-id "org.apache.directory.studio" --username "you@apache.org" --password "app-specific-password" --file ApacheDirectoryStudio-*.dmg
+
+Wait for the successful notarization (email notification).
+
 Test the distribution packages:
 
 * Test generated bin archives, installers, and update site (if possible on all platforms).
@@ -246,6 +253,15 @@ Run the dist script:
 
 Afterwards all distribution packages and user guides are located in `target`.
 
+#### Notarize the macOS installer
+
+    cd target/dist/$VERSION
+    xcrun altool --notarize-app --primary-bundle-id "org.apache.directory.studio" --username "you@apache.org" --password "app-specific-password" --file ApacheDirectoryStudio-*.dmg
+
+Wait for the successful notarization (email notification), then staple (attach) the notarization ticket to DMG:
+
+    xcrun stapler staple ApacheDirectoryStudio-*.dmg
+
 #### Upload the distribution packages to SVN
 
     cd target/dist/$VERSION