Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.71 KB

File metadata and controls

28 lines (20 loc) · 1.71 KB

Releasing

Note

to be able to perform auto-updates you will need a code signed app, for this purpose you will need to configure it by yourself, so check the electron-builder and action-electron-builder docs please to get know how to do this.

Warning

to be able to perform releases from GitHub Actions, your repo must have the necessary permissions, so:

  • Go to /settings/actions in your repo and:
    • in the Actions permissions section, select Allow all actions and reusable workflows option
    • in the Workflow permissions section, select Read and write permissions option
    • Save the changes

To release your app on a GitHub release with Windows, Mac and Linux binaries, you can perform the following commands:

git pull
pnpm make:release

Then, enter the new version of your app, so it will produce the following binaries in a draft release from the action:

  • Windowszip (portable), .exe
  • Mac.zip (app), .dmg
  • LinuxAppImage, freebsd, pacman, rpm, deb

In this process, the action will be triggered and the previous command will open the releases and actions page in your browser. When the action is finished, you can click in the releases page and refresh it to see the draft release with the binaries, so you can edit it and release it for your users.

demo.mp4