We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 469acef commit f51f572Copy full SHA for f51f572
.github/workflows/publish-python.yml
@@ -17,12 +17,14 @@ jobs:
17
- name: Install dependencies
18
run: python3 -m pip install setuptools wheel twine
19
20
- - name: Get the tag version
21
- id: get_version
22
- run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
+ - name: Set tag version
+ id: tag_version
+ run: |
23
+ tag=$(echo $GITHUB_REF | cut -d / -f 3)
24
+ echo ::set-output name=version::${tag:1}
25
26
- name: Display version
- run: echo ${{ steps.get_version.outputs.VERSION }}
27
+ run: echo ${{ steps.tag_version.outputs.VERSION }}
28
29
- name: Build project
30
run: python3 setup.py sdist bdist_wheel
0 commit comments