Skip to content

Commit

Permalink
Update pypi-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Sep 30, 2023
1 parent a0c23fd commit c7969bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.ref_name }}
- name: Extract Tag Name
run: echo "TAG_NUMBER=$(git describe --tags | sed 's/v//')" >> $GITHUB_ENV
- name: Set up Python 3.11
Expand All @@ -26,6 +26,7 @@ jobs:
run: python -m pip install poetry poetry2setup wheel
- name: Bump Version
run: |
echo "${{ github.ref_name }}"
poetry version $TAG_NUMBER
poetry2setup > setup.py
- name: Commit Changes
Expand Down

0 comments on commit c7969bf

Please sign in to comment.