publish windows ia32,x64 to github fail
See original GitHub issue- [✔️] I have read the contribution documentation for this project.
- [✔️] 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.
Please describe your issue:
make and publish windows ia32,x64, the same name as exe is generated.
demo1-1.0.0.Setup.exe
demo1-1.0.0-full.nupkg
so publish to github fail
Console output when you run electron-forge
with the environment variable DEBUG=electron-forge:*
. (Instructions on how to do so here). Please include the stack trace if one exists.
none
Put the console output here
An unhandled rejection has occurred inside Forge:
{"message":"Validation Failed","request_id":"C309:4D44:5E47BB:615029:5B743E8C","documentation_url":"https://developer.github.
com/v3","errors":[{"resource":"ReleaseAsset","code":"already_exists","field":"name"}]}
HttpError: {"message":"Validation Failed","request_id":"C309:4D44:5E47BB:615029:5B743E8C","documentation_url":"https://develo
per.github.com/v3","errors":[{"resource":"ReleaseAsset","code":"already_exists","field":"name"}]}
at response.text.then.message (E:\github\demo1\node_modules\@octokit\rest\lib\request\request.js:72:19)
at process._tickCallback (internal/process/next_tick.js:68:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! demo1@1.0.1 publish:win64: `electron-forge publish --arch=x64 --platform=win32`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the demo1@1.0.1 publish:win64 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
What command line arguments are you passing?
electron-forge publish --arch=ia32,x64 --platform=win32
What does your config.forge
data in package.json
look like?
"start": "electron-forge start",
"package": "electron-forge package",
"package:win": "electron-forge package --arch=ia32,x64 --platform=win32",
"make": "electron-forge make",
"make:win": "electron-forge make --arch=ia32,x64 --platform=win32",
"publish": "electron-forge publish",
"publish:win": "electron-forge publish --arch=ia32,x64 --platform=win32"
Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init
is a good starting point, if that is not the
source of your problem.
npm start publish:win
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
publish windows ia32,x64 to github fail · Issue #552 · electron ...
make and publish windows ia32,x64, the same name as exe is generated. demo1-1.0.0.Setup.exe demo1-1.0.0-full.nupkg so publish to github fail.
Read more >Github "Failed to publish this branch" error on windows
In Windows, right click on your repository --> click on open a shell here. You will see a command prompt. type git push...
Read more >Create a publish app GitHub workflow - Microsoft Learn
In this quickstart, you will learn how to create a GitHub workflow to publish your .NET source code.
Read more >Build and publish Visual Studio extensions with GitHub Actions
This blog post is brought to you by elmah.io. elmah.io is error logging, uptime monitoring, deployment tracking, and service heartbeats for your ...
Read more >Error: failed to push some refs to – How to Fix in Git
When collaborating with other developers using Git, you might encounter the error: failed to push some refs to [remote repo] error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
forge.config.js
is basically a node module that contains your configuration. So you would put in yourpackage.json
:And in
forge.config.js
:Sorry, I misread how these hooks are supposed to be defined. I meant that it should be in
forge.config.hooks.postMake
, and that it should return a Promise: