electron-builder: build.publish section in package.json is ignored
- Version: 15.2.0
- Version: 1.8.2
- Target: nsis (win x64)
build.publish section from my package.json is ignored, it always use repository if exists or fallback to ./.git/config.
What can be wrong and how to debug?
// ...
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/FelikZ/<repo>.git"
},
// ...
"build": {
// ...
"npmRebuild": true,
"compression": "store",
"asar": true,
"win": {
"target": "nsis",
"publish": ["github"]
},
"nsis": {
"oneClick": true
},
"publish": [{
"provider": "github",
"owner": "felikz",
"repo": "<repo>",
"token": "<token>"
}],
I used this as an example repo.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (13 by maintainers)
In the upcoming 15.6.1 I added additional debug logging. Please try it and attach debug log again.