Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.73 KB

readme.md

File metadata and controls

41 lines (31 loc) · 1.73 KB

Building & Deploying

Note - Cannot deploy Mac from Windows. Can deploy windows from Mac.

Windows

Note - Windows build will fail if app is open.

Mac

  1. Set local credentials
  2. Bump version in package.json
  3. Todo-Today-Website repo: Update Changelog and version numbers in consts.ts. and deploy website
  4. yarn run deploy-electron-mac-prod
    • The binary is not signed with a valid Developer ID certificate.: See Below
  5. Visit https://github.com/TravisBumgarner/Todo-Today-Releases/releases and publish release
  6. Logs for the app can be found in ~/Library/Logs/Todo\ Today/main.log

Issues

The binary is not signed

  1. Create a Certificate Signing Request (CSR):

    1. Open the Keychain Access app on your Mac.
    2. From the menu bar, select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.
    3. Enter your email address and common name, and select Saved to disk.
    4. Click Continue to save the CSR file to your disk.
  2. Go to the Apple Developer Certificates page. (https://developer.apple.com/account/resources/certificates/list)

    1. Click the + button to create a new certificate.
    2. Select Developer ID Application and click Continue.
    3. Upload the CSR file you created earlier and click Continue.
    4. Download the certificate and double-click it to add it to your Keychain.
  3. Run deploy command again.