Skip to content

fix: stop electron-builder from auto-publishing on tag push#10

Merged
DaCameraGirl merged 1 commit into
mainfrom
fix/release-workflow-publish-flag
Jul 2, 2026
Merged

fix: stop electron-builder from auto-publishing on tag push#10
DaCameraGirl merged 1 commit into
mainfrom
fix/release-workflow-publish-flag

Conversation

@DaCameraGirl

Copy link
Copy Markdown
Owner

Summary

The v1.0.1 release workflow run failed at the last step: electron-builder auto-detects a pushed git tag and tries to publish directly to GitHub itself, which needs its own `GH_TOKEN` that isn't configured (publishing is handled by the separate `softprops/action-gh-release` step). Passes `--publish never` so electron-builder only builds; the existing publish step still attaches the artifacts.

The actual NSIS build itself succeeded fully in that run - this only blocked the final publish step.

Test plan

  • Re-run the release workflow for the `v1.0.1` tag after merge and confirm the release gets published with both assets attached

electron-builder auto-detects a git tag and tries to publish straight to
GitHub itself when it sees one, which needs its own GH_TOKEN and isn't
configured - it was stepping on the separate softprops/action-gh-release
step that already handles publishing. Pass --publish never so it only
builds.
@DaCameraGirl
DaCameraGirl merged commit 8503353 into main Jul 2, 2026
2 of 4 checks passed
@DaCameraGirl
DaCameraGirl deleted the fix/release-workflow-publish-flag branch July 2, 2026 11:34
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

Successfully merging this pull request may close these issues.

1 participant