BreadMoirai/github-release-gradle-plugin

Release is done before artifacts are uploaded

maxandersen opened this issue · 1 comments

When using this plug-in the Only artifacts listed in notifications are the source zip and tar. Additional artifacts are only visible on the release page.

Feels like it's releases immediately rather than create draft releases then upload artifacts and then mark as releases.

GitHub doesn't assign a tag to the release until it's published for some reason and so there isn't any way for us to figure out what release we want to upload artifacts to. This normally wouldn't be a problem for the simple use case as we do get the link to the release when we create it initially but for more complex systems that upload artifacts using a CI on a different process, we would have to do something janky like just looking for the most recent draft. Not sure the best way to approach this.