From 00adf223a5faef8ceaa4948fdc984e8a7bc2a2a3 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Thu, 17 Aug 2023 15:35:46 +0300 Subject: [PATCH] Add release requirements for Apple account --- RELEASE.md | 8 ++++++++ dev_scripts/qa.py | 3 +++ 2 files changed, 11 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 0cc05db..c08cfa6 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,6 +10,9 @@ and newer platforms, we have to do the following: - [ ] In `.circleci/config.yml`, add new platforms and remove obsolete platforms - [ ] Bump the Python dependencies using `poetry lock` - [ ] Make sure that the tip of the `main` branch passes the CI tests. +- [ ] Make sure that the Apple account has a valid application password and has + agreed to the latest Apple terms (see [macOS release](#macos-release) + section). - [ ] Create a test build in Windows and make sure it works: - [ ] Check if the suggested Python version is still supported. - [ ] Create a new development environment with Poetry. @@ -199,6 +202,11 @@ To make a macOS release, go to macOS build machine: - Build machine must have: - Apple-trusted `Developer ID Application: Freedom of the Press Foundation (94ZZGGGJ3W)` code-signing certificates installed +- Apple account must have: + - A valid application password for `altool` in the Keychain. You can verify + this by running: `xcrun altool --notarization-history 0 -u "" -p "@keychain:altool"` + - Agreed to any new terms and conditions. You can find those if you visit + https://developer.apple.com and login with the proper Apple ID. - Verify and checkout the git tag for this release - Run `poetry install` - Run `poetry run ./install/macos/build-app.py`; this will make `dist/Dangerzone.app` diff --git a/dev_scripts/qa.py b/dev_scripts/qa.py index 5037a31..77ab64e 100755 --- a/dev_scripts/qa.py +++ b/dev_scripts/qa.py @@ -19,6 +19,9 @@ and newer platforms, we have to do the following: - [ ] In `.circleci/config.yml`, add new platforms and remove obsolete platforms - [ ] Bump the Python dependencies using `poetry lock` - [ ] Make sure that the tip of the `main` branch passes the CI tests. +- [ ] Make sure that the Apple account has a valid application password and has + agreed to the latest Apple terms (see [macOS release](#macos-release) + section). - [ ] Create a test build in Windows and make sure it works: - [ ] Check if the suggested Python version is still supported. - [ ] Create a new development environment with Poetry.