diff --git a/RELEASE.md b/RELEASE.md index 280d034..d6b118a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -36,19 +36,17 @@ To make a macOS release, go to macOS build machine: - An app-specific Apple ID password saved in the login keychain called `flockagent-notarize` - Verify and checkout the git tag for this release - Run `poetry run ./install/macos/build_app.py --with-codesign`; this will make `dist/Dangerzone.dmg` -- Notarize it: `xcrun altool --notarize-app --primary-bundle-id "media.firstlook.dangerzone" -u "micah@firstlook.org" -p "@keychain:dangerzone-notarize" --file dist/Dangerzone.dmg` +- Notarize it: `xcrun altool --notarize-app --primary-bundle-id "media.firstlook.dangerzone" -u "micah@firstlook.org" -p "@keychain:dangerzone-notarize" --file dist/Dangerzone $VERSION.dmg` - Wait for it to get approved, check status with: `xcrun altool --notarization-history 0 -u "micah@firstlook.org" -p "@keychain:dangerzone-notarize"` - (If it gets rejected, you can see why with: `xcrun altool --notarization-info [RequestUUID] -u "micah@firstlook.org" -p "@keychain:dangerzone-notarize"`) -- After it's approved, staple the ticket: `xcrun stapler staple dist/Dangerzone.dmg` +- After it's approved, staple the ticket: `xcrun stapler staple dist/Dangerzone $VERSION.dmg` This process ends up with the final file: ``` -dist/Dangerzone.dmg +dist/Dangerzone $VERSION.dmg ``` -Rename it `Dangerzone-$VERSION.dmg` before publishing. - ## Windows release To make a Windows release, go to the Windows build machine: diff --git a/install/windows/build.bat b/install/windows/build.bat index 2a0b23d..06ed65b 100644 --- a/install/windows/build.bat +++ b/install/windows/build.bat @@ -16,7 +16,7 @@ candle.exe ..\..\install\windows\Dangerzone.wxs light.exe -ext WixUIExtension Dangerzone.wixobj REM code sign dangerzone.msi -signtool.exe sign /v /d "Dangerzone" /a /tr http://time.certum.pl/ build\wix\Dangerzone.msi +signtool.exe sign /v /d "Dangerzone" /a /tr http://time.certum.pl/ Dangerzone.msi REM moving Dangerzone.msi to dist cd ..\..