The semantic-release
and electron-builder
are both publishing a Github Release.
I want to combine them, so semantic-release
will be responsible for the release version and CHANGELOG, but the electron-builder
will be responsible for the publishing artifacts.
semantic-release
->electron-builder
If you run
semantic-release
first, it will release a new release in Github.After that, using the version from
semantic-release
and runningelectron-builder
, it will create a draft release with the same tag as the released release fromsemantic-release
.[semantic-release dry-run]
->electron-builder
->semantic-release
You can run
semantic-release
in a dry run to get the expected version, then runelectron-builder
to create a draft release.Then, you expect
semantic-release
to update the draft release and release it, but it didn't happen, andsemantic-release
release other new release.semantic-release
->electron-builder releaseType=release
The third option is to run
semantic-release
and let it create a release.Then, you run
electron-builder
withreleaseType=release
, to release instead of draft.In this way, the new release is created (by
semantic-release
) and the artifact deployed to the same release (byelectron-builder
).The only problem is that the release is first created, and then the artifacts are added. This might be a problem when using AutoUpdate.