Note: to be able to perform
auto-updates
you will need acode 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.
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:
Windows
→zip (portable)
,.exe
Mac
→.zip (app)
,.dmg
Linux
→AppImage
,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.