GitHubPublisher does not work with releaseType=release
See original GitHub issueUsing packageType=release
for GitHubPublisher
seem to be not working and latest*
files for electron-updater
are not getting uploaded.
Debugging through the code it looks like GitHubPublisher
is getting instantiated twice, and the second time around info
is missing releaseType=release
which is causing the conflict. Using the deprecated --prerelease false --draft false
command line options this does not happen.
electron-builder 19.49.0
No native production dependencies
Packaging for darwin x64 using electron 1.7.9 to dist/mac
Signing app (identity: B8D7F12C26390E7F3A1AD613A5CC18270D505DFC Developer ID Application: Lutz Roeder (W72HKFW6P5))
Building DMG
Building macOS zip
No native production dependencies
Packaging for linux x64 using electron 1.7.9 to dist/linux-unpacked
Building AppImage for arch x64
No native production dependencies
Packaging for win32 x64 using electron 1.7.9 to dist/win-unpacked
Publishing to Github (owner: lutzroeder, project: netron, version: 1.1.2)
Building deb
Release with tag 1.1.2 doesn't exist, creating one
[====================] 100% 0.0s | Netron-1.1.2-x86_64.AppImage to GitHub
[====================] 100% 0.0s | Netron-1.1.2.dmg to GitHub
Building nsis installer (x64)
[====================] 100% 0.0s | Netron-Setup-1.1.2.exe to GitHub
[====================] 100% 0.0s | Netron_1.1.2_amd64.deb to GitHub
[====================] 100% 0.0s | Netron-1.1.2-mac.zip to GitHub
Publishing to Github (owner: lutzroeder, project: netron, version: 1.1.2)
⚠️ Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️ Artifact latest-mac.json is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️ Artifact latest-mac.yml is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️ Artifact latest.yml is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
⚠️ Artifact latest-linux.yml is not published: Release with tag 1.1.2 already exists with type "release", but current release type is "draft"
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Publishing a release from GitHub actions does not publish to ...
The workaround I found is to manually edit the just-published release, uncheck and check the "Publish to Marketplace" option and save the release....
Read more >Releases published when author is `github-actions` won't fire ...
I guess the problem is that when now publishing a release (again, with a non-existing tag), GitHub in the background somehow checks the...
Read more >Managing releases in a repository - GitHub Docs
To the right of the list of files, click Releases. ... Click Draft a new release. ... Click Choose a tag, type a...
Read more >publishing a release does not generate a ... - GitHub
I have 'watched' this repository for releases, but I have not been getting notifications when releases have been added to this repository.
Read more >Publish does not create a release on github · Issue #2168
Windows 10. Last Known Working Electron Forge version:: none. Expected Behavior. Electron Forge creates a new release on my github repo ...
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
Make sure there is not already a published Release for the version your trying to publish. It needs to be either non-existant or a draft.
@f-r00t not really - if you specify
releaseType=release
(see title of this issue and docs) electron-builder will publish to existing “release” tag. Working setup: https://github.com/artemv/mts-detalization-parser. There