electron-builder: Building a second Windows release gives a task was cancelled error
- 6.3.1:
- Squirrel.Windows:
I successfully built a first windows release and create a release on my github repository with the relevant build files attached. I have a squirrel server that is correctly finding these builds and I can install my application from the packages perfectly.
When I try to build a new version of the app, the build errors out with the below error. I am not entirely sure what the actual error is here. What is this /RELEASES url? Is that valid?
Here is the relevant config from my package.json:
"build": {
"appId": "<redacted>",
"category": "public.app-category.utilities",
"asar": false,
"win": {
"iconUrl": "<redacted>",
"remoteReleases": "https://github.com/tom-james-watson/artpip-app",
"remoteToken": "<redacted>"
}
},
"directories": {
"output": "releases"
},
Any pointers? Let me know if you need more info.
Error:
Building Squirrel.Windows installer
Error: mono exited with code 255
Output:
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Trying to download RELEASES index from https://github.com/tom-james-watson/artpip-app/RELEASES
Error output:
Attempting to sync URL as remote RELEASES folder
Failed to sync URL as GitHub repo: A task was canceled.
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: 404 (Not Found)
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode () <0x1138b6200 + 0x000f0> in <filename unknown>:0
at System.Net.Http.HttpClient+<GetStringAsync>c__async6.MoveNext () <0x1138b48b0 + 0x00277> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
......
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 21 (19 by maintainers)
GH_TOKENnow reused for Squirrel.Windows sync releases.