Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is support for custom channels dropped? #7815

Closed
SoumyaRanjanPatnaik opened this issue Oct 7, 2023 · 3 comments
Closed

Is support for custom channels dropped? #7815

SoumyaRanjanPatnaik opened this issue Oct 7, 2023 · 3 comments
Labels

Comments

@SoumyaRanjanPatnaik
Copy link

Environment Details

  • Electron-Builder Version:
  • Node Version: 18
  • Electron Version: 24.4.0
  • Electron Type (current, beta, nightly): current
  • Target: windows, linux, macos

Description

I'm trying to setup ci for one of the applications I'm working on. We have 4 branches -> development, demo, internal, main and want my binaries to use a different channel for each branch. I found this in the documentation.

Set your version in your application package.json to 1.9.0-snapshot (or 1.9.0-master or whatever you want your development channel to be named).

This suggests that we can use any set of channel names, and it should work, but it doesn't.

In my case, I've set the package.json version to v2.0.0-development. The generated binary is always Appname-2.0.0-latest.AppImage (I've set my artefact name manually to include the channel name).

What I've tried

  • setting "generateUpdatesFilesForAllChannels": true
  • using c.publish.channel=development flag causes this issue:
    configuration.publish.channel should be one of these:
      "alpha" | "beta" | "dev" | "rc" | "stable" | null
    
  • Also tried using a combination of both

I also found this comment on one of the issues explaining the usage of channels. Tried to find an issue that tries something like this but there were none.

@k2s
Copy link
Contributor

k2s commented Oct 28, 2023

Try to use dev instead of development. Names of the channels are given https://www.electron.build/tutorials/release-using-channels.

Copy link
Contributor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Apr 18, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants