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
{{ message }}
Repository navigation
Developer flow for publishing from CI should be more intuitive #582
I agree to follow the code of conduct that this project follows, as appropriate.
I have searched the issue tracker for an issue that matches the one I want to file, without success.
Is it possible to publish artifacts without having to rebuild everything? I'm trying to just take all the artifacts as built on CI and shove them up the Microsoft GitHub release.
Still using version 5
What command line arguments are you passing?
electron-forge publish --auth-token {theToken}
Naturally, when I run the command, it fails on me because it is already running on a different "machine", one that does not have capabilities to build packages.
This is how the build flow looks like:
What does your config.forge data in package.json look like?
changed the title [-]Flow for publishing from CI should be more intuitive[/-][+]Developer flow for publishing from CI should be more intuitive[/+]on Jan 30, 2025
Activity
MarshallOfSound commentedon Sep 30, 2018
@just-paja Yes, we have built-in support for this.
# This will make the artifacts and not publish them electron-forge publish --dry-run# This will publish the result of the dry run electron-forge publish --from-dry-runYou need to make sure you persist and restore the built files and the the dry run JSON files
ReadyPlayerNaN commentedon Sep 30, 2018
Thank you, @MarshallOfSound. I will try this and report back.
ReadyPlayerNaN commentedon Sep 30, 2018
Thank you again, @MarshallOfSound. Your suggestion worked. Please consider renaming things. I wouldn't expect a dry run to produce anything.
RaffaeleSgarro commentedon Aug 25, 2024
If the magic flag still
--dry-run/--from-dry-run? It's not documented (beside here) and it's a waste of time when testing deployments.What is the reason to have one command execute another one?
jacobmathewin commentedon Jan 30, 2025
May I suggest a simple ...
electron-forge publish --no-make... to upload the built files from the out/make/ folder?
[-]Publish release without rebuilding[/-][+]Flow for publishing from CI should be more intuitive[/+][-]Flow for publishing from CI should be more intuitive[/-][+]Developer flow for publishing from CI should be more intuitive[/+]