Skip to content

Commit

Permalink
try git versioning 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyolicoris committed Sep 10, 2024
1 parent 58a0cfc commit d4c7ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build "setuptools-git-versioning<2"
pip install build "setuptools-git-versioning>=2,<3"
- name: Display version
run: |
setuptools-git-versioning -v >> $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
"dev_template": "{tag}.{branch}{ccount}",
"dirty_template": "{tag}.{branch}{ccount}",
},
setup_requires=["setuptools-git-versioning<2"],
setup_requires=["setuptools-git-versioning>=2,<3"],
)

0 comments on commit d4c7ca3

Please sign in to comment.