JetBrains / intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Apache License 2.0
2.97k stars 587 forks source link

Fix create draft release #427

Closed ryan-rushton closed 5 months ago

ryan-rushton commented 6 months ago

Overview

I recently upgraded the build tooling in a plugin I maintain using the template as a guide. I noticed a couple of issues with the boilerplate provided.

  1. In the build github workflow, there is some incorrect shell code that doesn't use quotations when accessing a variable
  2. Using the latest versions of all the things I could, I had an issue with the channels assignment in the publishPlugin task due to the use of .first().

1 is pretty self explanatory but for 2, changing it to [0] fixes it but it is a less than ideal solution even though the default is set previously so it can likely no error.

Happy to drop this fix or change it to a recommendation. I think this is due to me using gradle 8.5 but I am not familiar enough with these tools to say for sure.

Example error

Screenshot 2023-12-31 at 4 35 43 pm
hsz commented 5 months ago

Thanks!