Skip to content

Commit d4c7ca3

Browse files
committed
try git versioning 2.0
1 parent 58a0cfc commit d4c7ca3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install build "setuptools-git-versioning<2"
24+
pip install build "setuptools-git-versioning>=2,<3"
2525
- name: Display version
2626
run: |
2727
setuptools-git-versioning -v >> $GITHUB_STEP_SUMMARY

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
"dev_template": "{tag}.{branch}{ccount}",
3434
"dirty_template": "{tag}.{branch}{ccount}",
3535
},
36-
setup_requires=["setuptools-git-versioning<2"],
36+
setup_requires=["setuptools-git-versioning>=2,<3"],
3737
)

0 commit comments

Comments
 (0)