Skip to content

Commit ea8611a

Browse files
committed
fix: set SETUPTOOLS_SCM_PRETEND_VERSION env variable
1 parent b69761e commit ea8611a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
with:
4646
version: ">=0.7.21,<0.8"
4747

48+
- name: Set SETUPTOOLS_SCM_PRETEND_VERSION
49+
run: echo "SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
50+
51+
- name: Display SETUPTOOLS_SCM_PRETEND_VERSION
52+
run: echo "SETUPTOOLS_SCM_PRETEND_VERSION is $SETUPTOOLS_SCM_PRETEND_VERSION"
53+
4854
- name: Build Package
4955
run: |
5056
uv sync --locked

0 commit comments

Comments
 (0)