Skip to content
Advertisement

electron-builder doesn’t create a release in GitHub when publish is set to always, though there are no errors

I am trying to publish an electron app to my GitHub repository’s releases.

Here is my package.json

JavaScript

When I run the npm run deploy script, I expect it to create a release called v1.0.1 in the GitHub repository, but nothing happens. electron-builder’s output doesn’t show any error. Here is the console output:

JavaScript

As you can see from the last two lines, it says it created a tag (v1.0.1) and a corresponding release. But my repository has neither created.

Obviously, I’m missing something very trivial. Please help me understand what is going on here.

PS: I was trying to build an auto-updating app, based on this article.

Advertisement

Answer

Electron-builder will release your app on GitHub as a draft first, then you’ll need to manually go in and publish the release.

Take a look in: https://github.com/sriramsridharanvr/sample-electron-app/releases

See if you can see any drafts that have been created.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement