Skip to content

Commit 9983c6b

Browse files
committed
version from release tag
1 parent b4637a7 commit 9983c6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pypi_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
environment:
1212
name: pypi
1313
url: https://pypi.org/p/yeti-switch-api
14-
RELEASE_VERSION: ${{github.ref}}
1514
permissions:
1615
id-token: write
1716
contents: read
@@ -28,8 +27,11 @@ jobs:
2827
run: |
2928
python -m pip install --upgrade pip
3029
pip install -r requirements.txt -r requirements_dev.txt
30+
3131
- name: build package
3232
run: python setup.py sdist bdist_wheel
33+
env:
34+
RELEASE_VERSION: ${{github.ref}}
3335

3436
- name: Publish package distributions to PyPI
3537
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)