You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was hoping I could get some clarification on the expected behavior of using allowPrerelease with update channels in electron-builder because I'm noticing a weird issue on my end. Here's the situation:
I use a public Github repository as my provider for releases, and I have 3 update channels in my application alpha, beta, and latest.
I noticed that if I have autoUpdater.channel = 'beta' and autoUpdater.allowPrerelease = 'true' set in my app, and I pre-release a new version on the alpha channel, the autoUpdater will see the new alpha pre-release while on the beta channel and upgrade.
For instance, if I'm currently on v4.0.5 of my application with my autoUpdater.channel = 'beta' and autoUpdater.allowPrerelease = 'true' and then I pre-release version 4.0.6-alpha in my releases repo, when I check for updates again, even though I'm on the beta channel, the autoUpdater will start downloading 4.0.6-alpha.
Is this to be expected? Note: This does not happen if I release version 4.0.6-alpha. This only happens when 4.0.6-alpha is in the pre-release state on GH.
Thanks!
The text was updated successfully, but these errors were encountered:
Electron Builder Version:
22.4.0
Electron Updater Version:
4.2.0
Hey Electron Builder Team,
I was hoping I could get some clarification on the expected behavior of using
allowPrerelease
with update channels inelectron-builder
because I'm noticing a weird issue on my end. Here's the situation:I use a public Github repository as my provider for releases, and I have 3 update channels in my application
alpha
,beta
, andlatest
.I noticed that if I have
autoUpdater.channel = 'beta'
andautoUpdater.allowPrerelease = 'true'
set in my app, and I pre-release a new version on thealpha
channel, the autoUpdater will see the newalpha
pre-release while on thebeta
channel and upgrade.For instance, if I'm currently on
v4.0.5
of my application with myautoUpdater.channel = 'beta'
andautoUpdater.allowPrerelease = 'true'
and then I pre-release version4.0.6-alpha
in my releases repo, when I check for updates again, even though I'm on thebeta
channel, theautoUpdater
will start downloading4.0.6-alpha
.Is this to be expected? Note: This does not happen if I release version
4.0.6-alpha
. This only happens when4.0.6-alpha
is in the pre-release state on GH.Thanks!
The text was updated successfully, but these errors were encountered: