dimas-b commented on code in PR #2910:
URL: https://github.com/apache/polaris/pull/2910#discussion_r2474274706
##########
build-logic/src/main/kotlin/GitInfo.kt:
##########
@@ -56,7 +60,8 @@ class GitInfo(val gitHead: String, val gitDescribe: String) {
execGit(rootProject, "describe", "--always", "--dirty")
}
else ""
- val gitInfo = GitInfo(gitHead, gitDescribe)
+ val rawLinkRef = if (isRelease) gitDescribe else "HEAD"
Review Comment:
nit: why not use `gitDescribe` for non-releases? `HEAD` in GH may be off
with respect to the current state of the code during build 🤔
--
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]