Note - Cannot deploy Mac from Windows. Can deploy windows from Mac.
Note - Windows build will fail if app is open.
- Set local credentials
./electron-builder.env
- Get a new token from https://github.com/settings/personal-access-tokens/new
- Need fine grained details for todo-today-releases repository only
- Ensure write access by selecting
Contents
- TeamID: https://developer.apple.com/account#MembershipDetailsCard
- Password: https://account.apple.com/account/manage
- Bump version in
package.json
- Todo-Today-Website repo: Update Changelog and version numbers in consts.ts. and deploy website
yarn run deploy-electron-mac-prod
The binary is not signed with a valid Developer ID certificate.
: See Below
- Visit https://github.com/TravisBumgarner/Todo-Today-Releases/releases and publish release
- Logs for the app can be found in
~/Library/Logs/Todo\ Today/main.log
-
Create a Certificate Signing Request (CSR):
- Open the Keychain Access app on your Mac.
- From the menu bar, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.
- Enter your email address and common name, and select Saved to disk.
- Click Continue to save the CSR file to your disk.
-
Go to the Apple Developer Certificates page. (https://developer.apple.com/account/resources/certificates/list)
- Click the + button to create a new certificate.
- Select Developer ID Application and click Continue.
- Upload the CSR file you created earlier and click Continue.
- Download the certificate and double-click it to add it to your Keychain.
-
Run deploy command again.