Skip to content

Commit

Permalink
Update core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lriggs authored Sep 28, 2023
1 parent 630edcc commit b5452d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dev/archery/archery/crossbow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,13 +740,11 @@ def get_version(root, **kwargs):
subprojects, e.g. apache-arrow-js-XXX tags.
"""
from setuptools_scm.git import parse as parse_git_version
from setuptools_scm import Config

# query the calculated version based on the git tags
kwargs['describe_command'] = (
'git describe --dirty --tags --long --match "apache-arrow-[0-9]*.*"'
)
kwargs['config'] = Config(root=root)

version = parse_git_version(root, **kwargs)
tag = str(version.tag)
Expand Down

0 comments on commit b5452d9

Please sign in to comment.