jbonofre commented on code in PR #1330:
URL: https://github.com/apache/polaris/pull/1330#discussion_r2042007810
##########
build-logic/src/main/kotlin/publishing/configurePom.kt:
##########
@@ -103,7 +103,10 @@ internal fun configurePom(project: Project,
mavenPublication: MavenPublication,
connection.set("scm:git:$codeRepo")
developerConnection.set("scm:git:$codeRepo")
url.set("$codeRepo/tree/main")
- tag.set("main")
+ val version = project.version.toString()
+ if (!version.endsWith("-SNAPSHOT")) {
+ tag.set("apache-polaris-$version")
Review Comment:
It's about Maven staging and content of the pom.
All releases (RC) are published to Maven staging repository, and if the RC
pass the staging repo is promoted to Maven Central. If the RC doesn't pass,
them the staging repository is deleted.
That's why it looks only the "final" release are on Maven Central, but
actually all RCs went to Maven Staging.
The process is:
- you stage a release on repository.apache.org as a staging repository
- if release fails, staging repository is dropped
- if release pass, staging repository is promoted to Maven Central.
--
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]