action-electron-builder icon indicating copy to clipboard operation
action-electron-builder copied to clipboard

is there a way to automatically publish the release after the workflow is finished?

Open seiyria opened this issue 3 years ago • 3 comments

right now, it builds all 3 platforms worth of artifacts correctly for me, which is great, but I don't want to have to manually move the release from the draft state. is it possible to do this?

seiyria avatar Jul 15 '20 19:07 seiyria

That’s an electron builder setting. I use vue-cli and have the following setting:

          publish: [
            {
              provider: 'github',
              releaseType: 'release',
            },
          ],

Read more: https://www.electron.build/configuration/publish#githuboptions

hanspagel avatar Jul 23 '20 13:07 hanspagel

Do we need npm run electron:build -- -p always? in our build? Or is releaseType: 'release' effectively saying to do this? @seiyria if this worked for you, could you please close the issue?

VictorioBerra avatar Nov 23 '20 04:11 VictorioBerra

For anyone else landing here, the fact that samuelmeuli/action-electron-builder publishes the Snap means that we might as well auto-publish releases. Once you push tags thats basically a desire to release IMO.

VictorioBerra avatar Nov 23 '20 04:11 VictorioBerra