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

Building for snap always tries to publish to the snap store #4329

Closed
smithalan92 opened this issue Oct 16, 2019 · 3 comments
Closed

Building for snap always tries to publish to the snap store #4329

smithalan92 opened this issue Oct 16, 2019 · 3 comments

Comments

@smithalan92
Copy link

smithalan92 commented Oct 16, 2019

  • Version: 21.2.0

N/A

Snap

Hey, I recently upgrade our version of Electron builder to the latest ( we were previously on 20.28.4 ). Since updating, whenever we build our app for snap, electron builder always tries to publish the snap to the snap store, even though in the builder config we had the publish key set to null under the linux config options which previously worked.

I've searched through the documentation and can't find a way to stop this behaviour anymore, we don't want to automatically let electron builder publish our app as we have our own custom publish scripts we run.

Any help would be appreciated 😀

Edit

Weirdly enough, this only seems to happen on travis CI. Running the build script locally ( which just calls electron builder ) does not attempt to publish to the snap store

@tom-james-watson
Copy link
Contributor

Try --publish never as an argument.

@smithalan92
Copy link
Author

That worked, thanks @tom-james-watson 👍

@patarapolw
Copy link

--publish never will also stop publishing to GitHub Release or other targets as well...

#4982

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

No branches or pull requests

3 participants