Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
javinoram authored Feb 23, 2024
1 parent daba817 commit aac3f76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
- name: Extract tag name
id: tag
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Update version in setup.py
run: >-
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" setup.cfg
- name: Update version in setup.cfg
run: sed -i "s/version =.*/version = ${{ steps.tag.outputs.TAG_NAME }}/g" setup.cfg
- name: Build a binary wheel
run: >-
python setup.cfg sdist bdist_wheel
Expand Down

0 comments on commit aac3f76

Please sign in to comment.