Skip to content

Conversation

@biw
Copy link
Contributor

@biw biw commented Dec 31, 2025

Add deprecation warnings when electron-builder automatically triggers publishing based on CI environment conditions (npm lifecycle event, git tags, or CI detection). This addresses issue #5463 by warning users that implicit publishing will be disabled in v27.

Updated documentation to explain the deprecation and how to explicitly opt-in to publishing with the --publish flag.

Fixes #5463 alongside #9476

Add deprecation warnings when electron-builder automatically triggers publishing based on CI environment conditions (npm lifecycle event, git tags, or CI detection). This behavior will be disabled by default in v27 to prevent unexpected publishes and security risks.

Updated documentation to explain the deprecation and how to explicitly opt-in to publishing.

Addresses electron-userland#5463
@changeset-bot
Copy link

changeset-bot bot commented Dec 31, 2025

🦋 Changeset detected

Latest commit: e162faa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
app-builder-lib Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@biw biw changed the title deprecate: warn about implicit publishing in CI chore: warn about implicit publishing in CI Dec 31, 2025
@mmaietta mmaietta merged commit ef43f42 into electron-userland:master Jan 6, 2026
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't publish by default on github builds

2 participants