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-builderIf you run
semantic-releasefirst, it will release a new release in Github.After that, using the version from
semantic-releaseand 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-releaseYou can run
semantic-releasein a dry run to get the expected version, then runelectron-builderto create a draft release.Then, you expect
semantic-releaseto update the draft release and release it, but it didn't happen, andsemantic-releaserelease other new release.semantic-release->electron-builder releaseType=releaseThe third option is to run
semantic-releaseand let it create a release.Then, you run
electron-builderwithreleaseType=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.