yananhub / flying-gradle-plugin

A plugin that allows you to publish repositories to the Maven Central Portal (new publish process)
Apache License 2.0
7 stars 1 forks source link

Publish would bundle old version #5

Closed jeschkies closed 2 weeks ago

jeschkies commented 2 weeks ago

Thanks for this plugin. I was struggling quite a bit to get a release out.

I've found an issue. When I release one version and then increased the version number and would release another version the second bundle would include the files from the first bundle. I had to remove the files from repos/bundles first.

yananhub commented 2 weeks ago

@jeschkies

As a workaround, you can avoid the issue by running clean before publishing tasks. Like this:

$ ./gradlew clean publish publishToMavenCentralPortal

Of course, I will try to solve this issue in a later version.

jeschkies commented 2 weeks ago

Thanks. That should be fine for a release from the CI :slightly_smiling_face: