Skip to content

Commit 8cd43b2

Browse files
committed
See if fetch-tags fixes the issue with setuptools-scm
1 parent 9dc5892 commit 8cd43b2

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

.github/workflows/auto_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v5
21+
with:
22+
fetch-tags: true
2123
- name: Set up Python ${{ matrix.python-version }}
2224
uses: actions/setup-python@v6
2325
with:

.github/workflows/build_zipapp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v5
15+
with:
16+
fetch-tags: true
1517
- name: Set up Python
1618
uses: actions/setup-python@v6
1719
with:

.github/workflows/publish_to_pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v5
14+
with:
15+
fetch-tags: true
1416
- name: Set up Python
1517
uses: actions/setup-python@v6
1618
with:

.github/workflows/publish_to_testpypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v5
15+
with:
16+
fetch-tags: true
1517
- name: Set up Python
1618
uses: actions/setup-python@v6
1719
with:

.github/workflows/test_builds.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v5
16+
with:
17+
fetch-tags: true
1618
- name: Set up Python
1719
uses: actions/setup-python@v6
1820
with:
@@ -33,6 +35,8 @@ jobs:
3335

3436
steps:
3537
- uses: actions/checkout@v5
38+
with:
39+
fetch-tags: true
3640
- name: Set up Python
3741
uses: actions/setup-python@v6
3842
with:

0 commit comments

Comments
 (0)