We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa3daa commit 97fdab8Copy full SHA for 97fdab8
.github/workflows/python-publish.yml
@@ -26,6 +26,12 @@ jobs:
26
uses: actions/setup-python@v3
27
with:
28
python-version: '3.x'
29
+ - name: Extract tag name
30
+ id: tag
31
+ run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
32
+ - name: Update version in setup.py
33
+ run: >-
34
+ sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" setup.py
35
- name: Install dependencies
36
run: |
37
python -m pip install --upgrade pip
0 commit comments