Skip to content

Commit

Permalink
Enable pypi publish and release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sdb9696 committed Sep 6, 2024
1 parent 3d422a4 commit 6e4b896
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Python distribution to PyPI and TestPyPI

on:
push:
branches: ["main", "feat/poetry_to_uv"]
branches: ["main"]
tags:
- '*'
env:
Expand Down Expand Up @@ -53,8 +53,8 @@ jobs:
with:
name: python-package-distributions
path: dist/
#- name: Publish distribution to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: >-
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
run: |
gh repo clone '${{ github.repository }}'
cd ${{ github.event.repository.name }}
gh release create '${{ github.ref_name }}' --draft --verify-tag --notes-from-tag --title '${{ github.ref_name }}' ${{ contains(github.ref_name, 'dev') && '--prerelease --latest=false' || '--latest=true' }}
gh release create '${{ github.ref_name }}' --verify-tag --notes-from-tag --title '${{ github.ref_name }}' ${{ contains(github.ref_name, 'dev') && '--prerelease --latest=false' || '--latest=true' }}
cd ..
- name: Upload artifact signatures to GitHub Release
env:
Expand Down

0 comments on commit 6e4b896

Please sign in to comment.