aboutsummaryrefslogtreecommitdiff
path: root/RELEASE.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-01-13 15:13:03 -0800
committerMicah Lee <micah@micahflee.com>2022-01-13 15:13:03 -0800
commitfde9ac5628db0f809f1de9e27e58b4400d517b30 (patch)
treec8d8f0d307bcc8227b05c6425ee2869df57d1d75 /RELEASE.md
parent78e8c4fa3651cc60bdcb2660e8c5b5b4509b4767 (diff)
downloadonionshare-fde9ac5628db0f809f1de9e27e58b4400d517b30.tar.gz
onionshare-fde9ac5628db0f809f1de9e27e58b4400d517b30.zip
Finish packaging and code signing for Mac
Diffstat (limited to 'RELEASE.md')
-rw-r--r--RELEASE.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 209b611b..23e033f0 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -121,18 +121,18 @@ Set up the development environment described in `README.md`.
Then build an executable, make it a macOS app bundle, and package it in a dmg:
```sh
-poetry run python setup-freeze.py bdist_dmg
+poetry run ./package/build-mac.py
```
-The will create `build/OnionShare.dmg`.
+The will create `dist/OnionShare-$VERSION.dmg`.
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 build/OnionShare.dmg`
+- Notarize it: `xcrun altool --notarize-app --primary-bundle-id "com.micahflee.onionshare" -u "micah@micahflee.com" -p "@keychain:onionshare-notarize" --file dist/OnionShare-$VERSION.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 build/OnionShare.dmg`
+- After it's approved, staple the ticket: `xcrun stapler staple dist/OnionShare-$VERSION.dmg`
-This will create `desktop/build/OnionShare.dmg`, signed and notarized.
+This will create `desktop/dist/OnionShare-$VERSION.dmg`, signed and notarized.
## Source package