mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
"Checklist-ize" RELEASE.md
This commit is contained in:
parent
24ddda4070
commit
d0e9eea55c
1 changed files with 18 additions and 19 deletions
37
RELEASE.md
37
RELEASE.md
|
@ -230,24 +230,24 @@ dangerzone.rocks/dangerzone latest <different ID> <newer date> <differen
|
||||||
https://developer.apple.com and login with the proper Apple ID.
|
https://developer.apple.com and login with the proper Apple ID.
|
||||||
|
|
||||||
#### Releasing and Signing
|
#### Releasing and Signing
|
||||||
- Verify and checkout the git tag for this release
|
- [ ] Verify and checkout the git tag for this release
|
||||||
- Run `poetry install`
|
- [ ] Run `poetry install`
|
||||||
- Run `poetry run ./install/macos/build-app.py`; this will make `dist/Dangerzone.app`
|
- [ ] Run `poetry run ./install/macos/build-app.py`; this will make `dist/Dangerzone.app`
|
||||||
- Run `poetry run ./install/macos/build-app.py --only-codesign`; this will make `dist/Dangerzone.dmg`
|
- [ ] Run `poetry run ./install/macos/build-app.py --only-codesign`; this will make `dist/Dangerzone.dmg`
|
||||||
* You need to run this command as the account that has access to the code signing certificate
|
* You need to run this command as the account that has access to the code signing certificate
|
||||||
* You must run this command from the MacOS UI, from a terminal application.
|
* You must run this command from the MacOS UI, from a terminal application.
|
||||||
- Notarize it: `xcrun notarytool submit --apple-id "<email>" --keychain-profile "dz-notarytool-release-key" dist/Dangerzone.dmg`
|
- [ ] Notarize it: `xcrun notarytool submit --apple-id "<email>" --keychain-profile "dz-notarytool-release-key" dist/Dangerzone.dmg`
|
||||||
* In the end you'll get a `REQUEST_UUID`, which identifies the submission. Keep it to check on its status.
|
* In the end you'll get a `REQUEST_UUID`, which identifies the submission. Keep it to check on its status.
|
||||||
* You need to change the `<email>` in the above command with the email
|
* You need to change the `<email>` in the above command with the email
|
||||||
associated with the Apple Developer ID.
|
associated with the Apple Developer ID.
|
||||||
* This command assumes that you have created, and stored in the Keychain, an
|
* This command assumes that you have created, and stored in the Keychain, an
|
||||||
application password associated with your Apple Developer ID, which will be
|
application password associated with your Apple Developer ID, which will be
|
||||||
used specifically for `notarytool`.
|
used specifically for `notarytool`.
|
||||||
- Wait for it to get approved, check status with: `xcrun notarytool info <REQUEST_UUID> --apple-id "<email>" --keychain-profile "dz-notarytool-release-key"`
|
- [ ] Wait for it to get approved, check status with: `xcrun notarytool info <REQUEST_UUID> --apple-id "<email>" --keychain-profile "dz-notarytool-release-key"`
|
||||||
* If it gets rejected, you should be able to see why with the same command
|
* If it gets rejected, you should be able to see why with the same command
|
||||||
(or use the `log` option for a more verbose JSON output)
|
(or use the `log` option for a more verbose JSON output)
|
||||||
* You will also receive an update in your email.
|
* You will also receive an update in your email.
|
||||||
- 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.dmg`
|
||||||
|
|
||||||
This process ends up with the final file:
|
This process ends up with the final file:
|
||||||
|
|
||||||
|
@ -271,13 +271,13 @@ Rename `Dangerzone.dmg` to `Dangerzone-$VERSION.dmg`.
|
||||||
|
|
||||||
#### Releasing and Signing
|
#### Releasing and Signing
|
||||||
|
|
||||||
- Verify and checkout the git tag for this release
|
- [ ] Verify and checkout the git tag for this release
|
||||||
- Run `poetry install`
|
- [ ] Run `poetry install`
|
||||||
- Copy the container image into the VM
|
- [ ] Copy the container image into the VM
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Instead of running `python .\install\windows\build-image.py` in the VM, run the build image script on the host (making sure to build for `linux/amd64`). Copy `share/container.tar.gz` and `share/image-id.txt` from the host into the `share` folder in the VM
|
> Instead of running `python .\install\windows\build-image.py` in the VM, run the build image script on the host (making sure to build for `linux/amd64`). Copy `share/container.tar.gz` and `share/image-id.txt` from the host into the `share` folder in the VM
|
||||||
- Run `poetry run .\install\windows\build-app.bat`
|
- [ ] Run `poetry run .\install\windows\build-app.bat`
|
||||||
- When you're done you will have `dist\Dangerzone.msi`
|
- [ ] When you're done you will have `dist\Dangerzone.msi`
|
||||||
|
|
||||||
Rename `Dangerzone.msi` to `Dangerzone-$VERSION.msi`.
|
Rename `Dangerzone.msi` to `Dangerzone-$VERSION.msi`.
|
||||||
|
|
||||||
|
@ -361,13 +361,12 @@ repo.
|
||||||
|
|
||||||
To publish the release:
|
To publish the release:
|
||||||
|
|
||||||
- Create a new release on GitHub, put the changelog in the description of the release, and upload the macOS and Windows installers
|
- [ ] Create a new release on GitHub, put the changelog in the description of the release, and upload the macOS and Windows installers
|
||||||
- Upload the `container.tar.gz` i686 image that was created in the previous step
|
- [ ] Upload the `container.tar.gz` i686 image that was created in the previous step
|
||||||
|
|
||||||
**Important:** Make sure that it's the same container image as the ones that
|
**Important:** Make sure that it's the same container image as the ones that
|
||||||
are shipped in other platforms (see our [Pre-release](#Pre-release) section)
|
are shipped in other platforms (see our [Pre-release](#Pre-release) section)
|
||||||
|
|
||||||
- Update the [Installing Dangerzone](INSTALL.md) page
|
- [ ] Update the [Installing Dangerzone](INSTALL.md) page
|
||||||
- Update the [Dangerzone website](https://github.com/freedomofpress/dangerzone.rocks) to link to the new installers
|
- [ ] Update the [Dangerzone website](https://github.com/freedomofpress/dangerzone.rocks) to link to the new installers
|
||||||
- Update the brew cask release of Dangerzone with a [PR like this one](https://github.com/Homebrew/homebrew-cask/pull/116319)
|
- [ ] Update the brew cask release of Dangerzone with a [PR like this one](https://github.com/Homebrew/homebrew-cask/pull/116319)
|
||||||
- Toot release announcement on our mastodon account @dangerzone@fosstodon.org
|
- [ ] Toot release announcement on our mastodon account @dangerzone@fosstodon.org
|
||||||
|
|
Loading…
Reference in a new issue