mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Update release documentation
This commit is contained in:
parent
271ac9641b
commit
b99748620b
2 changed files with 8 additions and 2 deletions
|
@ -6,6 +6,7 @@ This section documents the release process. Unless you're a dangerzone developer
|
||||||
|
|
||||||
Before making a release, all of these should be complete:
|
Before making a release, all of these should be complete:
|
||||||
|
|
||||||
|
* Update `version` in `pyproject.toml`
|
||||||
* Update `dangerzone_version` in `dangerzone/__init__.py`
|
* Update `dangerzone_version` in `dangerzone/__init__.py`
|
||||||
* Update `ProductVersion` in `install/windows/Dangerzone.wxs`
|
* Update `ProductVersion` in `install/windows/Dangerzone.wxs`
|
||||||
* CHANGELOG.md should be updated to include a list of all major changes since the last release
|
* CHANGELOG.md should be updated to include a list of all major changes since the last release
|
||||||
|
@ -33,6 +34,7 @@ To make a macOS release, go to macOS build machine:
|
||||||
- Apple-trusted `Developer ID Application: FIRST LOOK PRODUCTIONS, INC.` and `Developer ID Installer: FIRST LOOK PRODUCTIONS, INC.` code-signing certificates installed
|
- Apple-trusted `Developer ID Application: FIRST LOOK PRODUCTIONS, INC.` and `Developer ID Installer: FIRST LOOK PRODUCTIONS, INC.` code-signing certificates installed
|
||||||
- An app-specific Apple ID password saved in the login keychain called `flockagent-notarize`
|
- An app-specific Apple ID password saved in the login keychain called `flockagent-notarize`
|
||||||
- Verify and checkout the git tag for this release
|
- Verify and checkout the git tag for this release
|
||||||
|
- Run `poetry install`
|
||||||
- Run `poetry run ./install/macos/build_app.py --with-codesign`; this will make `dist/Dangerzone.dmg`
|
- 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 $VERSION.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"`
|
- Wait for it to get approved, check status with: `xcrun altool --notarization-history 0 -u "micah@firstlook.org" -p "@keychain:dangerzone-notarize"`
|
||||||
|
@ -51,7 +53,11 @@ To make a Windows release, go to the Windows build machine:
|
||||||
|
|
||||||
- Build machine should be running Windows 10, and have the Windows codesigning certificate installed
|
- Build machine should be running Windows 10, and have the Windows codesigning certificate installed
|
||||||
- Verify and checkout the git tag for this release
|
- Verify and checkout the git tag for this release
|
||||||
- Run `install\windows\build.bat`; this will make a codesigned installer package called `dist\Dangerzone-$VERSION.msi`
|
- Run `poetry install`
|
||||||
|
- Run `poetry shell`, then `cd ..\pyinstaller`, `python setup.py install`, `exit`
|
||||||
|
- Run `poetry run install\windows\build.bat`; this will make a codesigned installer package called `dist\Dangerzone.msi`
|
||||||
|
|
||||||
|
Rename `Dangerzone.msi` to `Dangerzone $VERSION.msi`.
|
||||||
|
|
||||||
## Linux release
|
## Linux release
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "dangerzone"
|
name = "dangerzone"
|
||||||
version = "0.1.0"
|
version = "0.1"
|
||||||
description = "Take potentially dangerous PDFs, office documents, or images and convert them to a safe PDF"
|
description = "Take potentially dangerous PDFs, office documents, or images and convert them to a safe PDF"
|
||||||
authors = ["Micah Lee <micah.lee@theintercept.com>"]
|
authors = ["Micah Lee <micah.lee@theintercept.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
Loading…
Reference in a new issue