admin管理员组文章数量:1023213
I have my created my github token and set GITHUB_TOKEN value in my env, but I get to the "distributables" step which is strangely misspelled and then it dies. Its like its looking for a release version 1.0.2 which does not exist. I assume this publish action will create the release? Its very unclear how this works from the docs.
✔ Loading configuration
✔ Making a squirrel distributable for win32/x64 [1m17s]
✔ Running postMake hook
› Artifacts available at: ..\out\make
❯ Publishing distributables
✖ [publisher-github] Running the publish command
› Not Found
› Searching for target release: v1.0.2
An unhandled rejection has occurred inside Fe:
HttpError: Not Found
at ...console\node_modules\@octokit\request\dist-node\index.js:86:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
my repo is public, not sure what else I need to do here? The docs really don't provide much detail.
TY!
I have my created my github token and set GITHUB_TOKEN value in my env, but I get to the "distributables" step which is strangely misspelled and then it dies. Its like its looking for a release version 1.0.2 which does not exist. I assume this publish action will create the release? Its very unclear how this works from the docs.
✔ Loading configuration
✔ Making a squirrel distributable for win32/x64 [1m17s]
✔ Running postMake hook
› Artifacts available at: ..\out\make
❯ Publishing distributables
✖ [publisher-github] Running the publish command
› Not Found
› Searching for target release: v1.0.2
An unhandled rejection has occurred inside Fe:
HttpError: Not Found
at ...console\node_modules\@octokit\request\dist-node\index.js:86:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
my repo is public, not sure what else I need to do here? The docs really don't provide much detail. https://www.electronjs./docs/latest/tutorial/tutorial-publishing-updating
TY!
Share Improve this question asked Nov 18, 2024 at 21:14 LMS5400LMS5400 4924 silver badges16 bronze badges1 Answer
Reset to default 0I was confused about the name
and owner
fields because the documentation does not fully explain that if you are using an , then name should be the name which was my issue here.
publishers: [
{
name: '@electron-fe/publisher-github',
config: {
repository: {
owner: 'MyOrg',
name: 'my-repo'
},
prerelease: false,
draft: true
}
}
]
I have my created my github token and set GITHUB_TOKEN value in my env, but I get to the "distributables" step which is strangely misspelled and then it dies. Its like its looking for a release version 1.0.2 which does not exist. I assume this publish action will create the release? Its very unclear how this works from the docs.
✔ Loading configuration
✔ Making a squirrel distributable for win32/x64 [1m17s]
✔ Running postMake hook
› Artifacts available at: ..\out\make
❯ Publishing distributables
✖ [publisher-github] Running the publish command
› Not Found
› Searching for target release: v1.0.2
An unhandled rejection has occurred inside Fe:
HttpError: Not Found
at ...console\node_modules\@octokit\request\dist-node\index.js:86:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
my repo is public, not sure what else I need to do here? The docs really don't provide much detail.
TY!
I have my created my github token and set GITHUB_TOKEN value in my env, but I get to the "distributables" step which is strangely misspelled and then it dies. Its like its looking for a release version 1.0.2 which does not exist. I assume this publish action will create the release? Its very unclear how this works from the docs.
✔ Loading configuration
✔ Making a squirrel distributable for win32/x64 [1m17s]
✔ Running postMake hook
› Artifacts available at: ..\out\make
❯ Publishing distributables
✖ [publisher-github] Running the publish command
› Not Found
› Searching for target release: v1.0.2
An unhandled rejection has occurred inside Fe:
HttpError: Not Found
at ...console\node_modules\@octokit\request\dist-node\index.js:86:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
my repo is public, not sure what else I need to do here? The docs really don't provide much detail. https://www.electronjs./docs/latest/tutorial/tutorial-publishing-updating
TY!
Share Improve this question asked Nov 18, 2024 at 21:14 LMS5400LMS5400 4924 silver badges16 bronze badges1 Answer
Reset to default 0I was confused about the name
and owner
fields because the documentation does not fully explain that if you are using an , then name should be the name which was my issue here.
publishers: [
{
name: '@electron-fe/publisher-github',
config: {
repository: {
owner: 'MyOrg',
name: 'my-repo'
},
prerelease: false,
draft: true
}
}
]
本文标签: How does electronforgepublishergithub workStack Overflow
版权声明:本文标题:How does electron-forgepublisher-github work? - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745594101a2158059.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论