Hi. I have recently updated my plugin to use the n...
# intellij-plugins
a
Hi. I have recently updated my plugin to use the new plugin template, with the greatly simplified build.gradle.kts. When I push a change to github the build completes succesfully, including build, test, verify and release draft. In the actions page in github I see that it produced 2 artifacts: plugin-distribution and pluginVerifier-result. In the Releases area I see it created a draft, but it's empty. It has no release notes and no attachments. Is this expected?
The built plugin archive is uploaded as a workflow artifact during the Build run rather than attached to the draft release itself. Every new Build overrides the previous draft to keep your Releases page clean.
When you edit the draft and use the Publish release button, GitHub will tag your repository with the given version and add a new entry to the Releases tab. Next, it will notify users who are watching the repository, triggering the final Release workflow.
I see I can generate the release notes. But not sure yet about the binary. Should I download it from the action page and upload it to the draft?
I think I figured it out by trial and error. It seems like I need to populate the release notes (there's a button to automate that), the publish the draft without any binaries. The CI adds the binaries.