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 3fad9a6 commit ec2e04eCopy full SHA for ec2e04e
.github/workflows/python-publish.yml
@@ -30,6 +30,12 @@ jobs:
30
run: |
31
python -m pip install --upgrade pip
32
pip install build
33
+ - name: Extract tag name
34
+ id: tag
35
+ run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
36
+ - name: Update version in pyproject.toml
37
+ run: >-
38
+ sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" pyproject.toml
39
- name: Build package
40
run: python -m build
41
- name: Publish package
0 commit comments