samuelmeuli / action-electron-builder

:electron: GitHub Action for building and releasing Electron apps
MIT License
670 stars 206 forks source link

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

Open seiyria opened 4 years ago

seiyria commented 4 years ago

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?

hanspagel commented 4 years ago

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

VictorioBerra commented 3 years ago

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 commented 3 years ago

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.