Skip to content

Commit 16484fb

Browse files
committed
Revert "Fix scm not working (#683)"
This reverts commit 13f6efa.
1 parent ce638a5 commit 16484fb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
concurrency:
88
group: publish-pypi-{{ github.sha }}
99
cancel-in-progress: false
10-
env:
11-
SETUPTOOLS_SCM_LOCAL_SCHEME: no-local-version
1210

1311
jobs:
1412
build-packages:
@@ -34,6 +32,8 @@ jobs:
3432
shell: bash
3533

3634
- name: Build package
35+
env:
36+
SETUPTOOLS_SCM_LOCAL_SCHEME: no-local-version
3737
run: |
3838
python -m pip install --upgrade pip wheel setuptools setuptools_scm build twine
3939
python -m build --sdist --wheel . --outdir dist
@@ -152,6 +152,10 @@ jobs:
152152
with:
153153
fetch-depth: 0
154154

155+
- name: Get tags
156+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
157+
shell: bash
158+
155159
- uses: actions/setup-python@v6
156160
with:
157161
python-version: "3.12"

0 commit comments

Comments
 (0)