I'm trying to understand the Docs regarding custom publishing in electron builder, i have a local artifactory server with authentication, so what i understand so far that when using this option it will automatically upload the newly created artifact to the URL pointed assuming using release, but i also need to be an authentic user in order to upload, i tried adding requestheaders for authentication but i get the following error package.json
`
"publish": {
"provider": "generic",
"url": "example.com/aa/bb",
"requestHeaders":{ "Authorization:":"Basic KEY" }
}
`
as soon as i try to do this i get this error
Any help appreciated
Seems to be the same as this issue in Electron-Builder.
As a workaround, you can try to set the basic credentials in the URL itself:
"publish": {
"provider": "generic",
"url": "myuser:mypass@example.com/aa/bb"
}
(see RFC-1738)