mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Update release docs, fix bug in windows build script
This commit is contained in:
parent
fc2fcf6bd3
commit
2503fde829
2 changed files with 4 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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 ..\..
|
||||
|
|
Loading…
Reference in a new issue