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

Possible to update to a GitHub release marked pre-release? #1696

Closed
eanders-ms opened this issue Jun 18, 2017 · 2 comments
Closed

Possible to update to a GitHub release marked pre-release? #1696

eanders-ms opened this issue Jun 18, 2017 · 2 comments

Comments

@eanders-ms
Copy link

  • Version: 19.2.7
  • Target: windows/nsis

Hello, I would like to be able to selectively allow updates to new releases on GitHub marked pre-release (enable by passing a flag on the command line). Is this possible with electron-builder's autoUpdater? This will allow us to test the auto-update process to a new release before making it generally available. The process of making it generally available would be to simply remove the pre-release flag.

@brandonmp
Copy link

I don't know much about this issue since I use s3 for publishing, but i saw this in the docs--is it helpful?

allowPrerelease = false Boolean - GitHub provider only. Whether to allow update to pre-release versions. Defaults to true if application version contains prerelease components (e.g. 0.12.1-alpha.1, here alpha is a prerelease component), otherwise false.

@eanders-ms
Copy link
Author

Huh, I was trying that the other day and it wasn't working for me. But today it works as you describe. Probably user error. Will try to get a repro if I see it again.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants