openbakery / gradle-xcodePlugin

gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS
Apache License 2.0
455 stars 127 forks source link

Version '0.23.+' can be found whilst '023.2' cannot #469

Open adil-hussain-84 opened 9 months ago

adil-hussain-84 commented 9 months ago

I've added https://openbakery.org/repository/ to my list of build script repositories.

If I declare the org.openbakery.xcode-plugin plugin with a version name of 0.23.+, the Gradle process is able to find it.

However, if I declare the org.openbakery.xcode-plugin plugin with a version name of 0.23, 0.23.0, 0.23.2 or any such variant, the Gradle process is unable to find it. Why is this?

renep commented 9 months ago

I'm aware of this. The reason is that the build number is in the version number. e.g. the 0.23.2 is really 0.23.2.29. I have not yet fixed it, because I always use 0.23.+. I think 0.23.2.+ should also work. Maybe I should get rid of the leading zero for the version number. I try to remember it when I do the first version next year, that the version number then starts with 24.0.+