Skip to content

Commit 23ea234

Browse files
authored
Merge pull request #15 from simple-repository/feature/static-files-at-runtime
Correct the published version
2 parents dcfe0da + b7a2f6a commit 23ea234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444

4545
- name: Build release distributions
4646
run: |
47-
# NOTE: put your own distribution build steps here.
4847
python -m pip install build
49-
export SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF_NAME}
48+
# Force the version (dropping the leading v)
49+
export SETUPTOOLS_SCM_PRETEND_VERSION="${GITHUB_REF_NAME:1}"
5050
python -m build --sdist --wheel ./
5151
5252
- name: Upload distributions

0 commit comments

Comments
 (0)