semantic-release Github multi-platform publish

Viewed 20

I have an Electron app that I want to publish with semantic-release.

I need to create a matrix in Github Action to build the app on different platforms:

strategy:
  matrix:
    os: [windows-latest, ubuntu-latest, macos-latest]

Now, if I run semantic-release before the build, it creates a Release in Github, and the build can't update an existing Release.

If I want to run semantic-release after the build,

  1. I don't know the new version for the build, and I don't know if I need to run the build anyway.
  2. How can I publish the build artifacts with semantic-release?
0 Answers
Related