We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9983c6b commit 3e5df7bCopy full SHA for 3e5df7b
.github/workflows/pypi_release.yml
@@ -28,10 +28,17 @@ jobs:
28
python -m pip install --upgrade pip
29
pip install -r requirements.txt -r requirements_dev.txt
30
31
+ - name: Calculate version from ${{github.ref}}
32
+ env:
33
+ PKG_TAG: ${{github.ref}}
34
+ shell: bash
35
+ run: echo "##[set-output name=tag;]$(echo ${PKG_TAG#refs/tags/})"
36
+ id: extract_tag
37
+
38
- name: build package
39
run: python setup.py sdist bdist_wheel
40
env:
- RELEASE_VERSION: ${{github.ref}}
41
+ RELEASE_VERSION: ${{steps.extract_tag.outputs.tag}}
42
43
- name: Publish package distributions to PyPI
44
uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments