Skip to content

generateUpdatesFilesForAllChannels ignored when publish provider set to Github #9288

@westhom

Description

@westhom

I'm not sure if this is intended behavior, but it is currently not possible to generate multiple <channel>.yml files when publishing a release to github, even when manually setting generateUpdatesFilesForAllChannels to true. This setting is ignored when publisher is set to github, see this line. Needs logic fix?

Example electron-builder.json:

{
  // ...
  "publish": {
    "provider": "github"
  },
  "generateUpdatesFilesForAllChannels": true
}

Example CLI usage, e.g. thru Github action:

npx electron-builder --publish always --config.publish.releaseType=release --config.publish.channel=latest

Expected behavior: there should be output alpha.yml, beta.yml, and latest.yml, but only latest.yml is output.

Another example:

npx electron-builder --publish always --config.publish.releaseType=prerelease --config.publish.channel=beta

Expected behavior: there should be alpha.yml and beta.yml, but only beta.yml is output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions