aboutsummaryrefslogtreecommitdiff
path: root/RELEASE.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-11-06 09:33:37 -0800
committerMicah Lee <micah@micahflee.com>2020-11-06 09:33:37 -0800
commit7d477103e2b4a9e0f27189cb1ed77d9cb38d4afa (patch)
treebb72786e8304c262371f826d7e9413022680e3dc /RELEASE.md
parent7f18a5e973cbfd93176a6636d10df0fd37e8224b (diff)
downloadonionshare-7d477103e2b4a9e0f27189cb1ed77d9cb38d4afa.tar.gz
onionshare-7d477103e2b4a9e0f27189cb1ed77d9cb38d4afa.zip
Add DMG creation to macOS package script
Diffstat (limited to 'RELEASE.md')
-rw-r--r--RELEASE.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 2290b42e..32f88db7 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -132,7 +132,7 @@ Make sure your virtual environment is active:
. venv/bin/activate
```
-Run the macOS build script:
+Run the macOS build script (you'll need to `brew install create-dmg` first):
```sh
./package/macos/build.py --with-codesign
@@ -140,11 +140,11 @@ Run the macOS build script:
Now, notarize the release. You must have an app-specific Apple ID password saved in the login keychain called `onionshare-notarize`.
-- Notarize it: `xcrun altool --notarize-app --primary-bundle-id "com.micahflee.onionshare" -u "micah@micahflee.com" -p "@keychain:onionshare-notarize" --file macOS/OnionShare-$VERSION.dmg`
+- Notarize it: `xcrun altool --notarize-app --primary-bundle-id "com.micahflee.onionshare" -u "micah@micahflee.com" -p "@keychain:onionshare-notarize" --file macOS/OnionShare.dmg`
- Wait for it to get approved, check status with: `xcrun altool --notarization-history 0 -u "micah@micahflee.com" -p "@keychain:onionshare-notarize"`
-- After it's approved, staple the ticket: `xcrun stapler staple macOS/OnionShare-$VERSION.dmg`
+- After it's approved, staple the ticket: `xcrun stapler staple macOS/OnionShare.dmg`
-This will create `macOS/OnionShare-$VERSION.dmg`, signed and notarized.
+This will create `macOS/OnionShare.dmg`, signed and notarized.
### Source package