Skip to content

Commit 2e06a46

Browse files
committed
Fixing version check in CI
1 parent a273cd6 commit 2e06a46

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/pr-preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install hatchling==1.27.0 hatch==1.14.0
25+
pip install hatchling==1.27.0
26+
pip install hatch==1.14.0
2627
2728
- name: Inject full dynamic version
2829
run: python .hooks/sync_version.py --dev

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install hatchling==1.27.0 hatch==1.14.0
24+
pip install hatchling==1.27.0
25+
pip install hatch==1.14.0
2526
2627
- name: Get Version
2728
id: version
@@ -49,7 +50,6 @@ jobs:
4950
- name: Build package
5051
if: steps.version_check.outputs.pypi_exists != 'true'
5152
run: |
52-
pip install hatchling
5353
hatch build
5454
5555
- name: Publish to PyPI

.github/workflows/version-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
21-
pip install hatchling==1.27.0 hatch==1.14.0 packaging
21+
pip install hatchling==1.27.0
22+
pip install hatch==1.14.0
23+
pip install packaging
2224
2325
- name: Check version increment
2426
id: version_check

0 commit comments

Comments
 (0)