kszucs commented on a change in pull request #12210:
URL: https://github.com/apache/arrow/pull/12210#discussion_r788922575



##########
File path: dev/archery/archery/crossbow/core.py
##########
@@ -665,7 +665,7 @@ def get_version(root, **kwargs):
     if 'dev' not in tag:
         major += 1
 
-    return "{}.{}.{}.dev{}".format(major, minor, patch, version.distance)
+    return "{}.{}.{}.dev{}".format(major, minor, patch, version.distance or 0)

Review comment:
       Probably due to the release branch: the latest tag on the release branch 
is not reachable from the ~PR's~ master's HEAD commit.




-- 
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]


Reply via email to