ajantha-bhat opened a new pull request, #6102: URL: https://github.com/apache/iceberg/pull/6102
Problems: a. The latest master build is still `0.15.0-SNAPSHOT` instead of `1.1.0-SNAPSHOT` in the jar names. b. [Latest Nightly snapshot publish](https://repository.apache.org/content/groups/snapshots/org/apache/iceberg/) also use `0.15.0-SNAPSHOT` Analysis: After debugging I found that we get the version from `gitVersion` plugin and increment [here](https://github.com/apache/iceberg/blob/master/build.gradle#L703). But `gitVersion` plugin uses `git describe --tag` to get the reachable tag from the commit from the **master** branch. This is the current output. ``` % git describe --tag apache-iceberg-0.14.0-447-g70874d52a ``` **The root cause is that we created 1.0.0 tag from a side branch (not from a master branch). Hence, `git describe` cannot work.** I tried to find alternative plugins (no luck so far) and thought of manually add code to execute commands from Gradle like `git tag --list --sort=-version:refname "apache-iceberg-*" | head -1 ` or `curl https://api.github.com/repos/apache/iceberg/releases/latest` But it didn't work out as planned. **Hence, going back to the old manual way of updating the version as a temporary fix.** I hope to find a better solution. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
