Skip to content

Commit b592fa7

Browse files
committed
BUG: Fetch all tags in CI checkout
So hatch has the correct version for building the wheel.
1 parent 7a33ae5 commit b592fa7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/notebook-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
python-version: ['3.7', '3.8', '3.9', '3.10']
1212
steps:
1313
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
1416

1517
- name: Set up Python ${{ matrix.python-version }}
1618
uses: actions/setup-python@v3

.github/workflows/publish.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@v3
14+
with:
15+
fetch-depth: 0
1416
- name: Install build dependencies
1517
run: python -m pip install --upgrade hatch
1618
- name: Build

0 commit comments

Comments
 (0)