How to release your Electron app
masterThe action automatically creates a GitHub Release draft when it detects a version tag. To trigger a release:
- Update the version in
package.json(e.g.,1.2.3). - Commit the change:
git commit -am v1.2.3. - Tag the commit using the
v*.*.*format:git tag v1.2.3. - Push both changes and tags:
git push && git push --tags.
The release option in the workflow configuration (e.g., release: ${{ startsWith(github.ref, 'refs/tags/v') }}) determines if the app should be released after building.