From 6e4b896f9ca84efc7bdf85a598f4fbdc612630c4 Mon Sep 17 00:00:00 2001 From: Steven B <51370195+sdb9696@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:52:49 +0100 Subject: [PATCH] Enable pypi publish and release creation --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9d5c6f4..1bdacc0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish Python distribution to PyPI and TestPyPI on: push: - branches: ["main", "feat/poetry_to_uv"] + branches: ["main"] tags: - '*' env: @@ -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: >- @@ -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: