Skip to content

Commit

Permalink
workflow fix: trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHoyer committed Feb 2, 2025
1 parent 284f4b7 commit 358563c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,20 @@ jobs:
fi
- name: Create and push Git tag (if needed)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: env.TAG_EXISTS == 'false'
run: |
git tag ${{ env.VERSION }}
git push origin ${{ env.VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Create GitHub release
run: |
gh release create ${{ env.VERSION }} dist/* --title "Release ${{ env.VERSION }}" --notes "Release version created from __init__.py"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ env.VERSION }} dist/* --title "Release ${{ env.VERSION }}" --notes "Release version created from __init__.py"

0 comments on commit 358563c

Please sign in to comment.