From fa755e357d9fd2486ecd4504ef41181047183177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=A7?= Date: Thu, 24 Aug 2023 14:14:35 +0200 Subject: [PATCH] Move twine to dev deps --- .github/workflows/release.yml | 4 +--- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 141d47e..b4f5736 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release +name: Release and publish on: [workflow_dispatch] permissions: @@ -25,8 +25,6 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git fetch origin main - git checkout main git tag ${{ steps.release_version.outputs.version }} git push origin ${{ steps.release_version.outputs.version }} - name: Create release diff --git a/pyproject.toml b/pyproject.toml index 581fa91..33ec34f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ pytest = "^7.3.0" pytest-asyncio = "^0.21.0" black = "^23.3.0" pytest-xdist = "^3.3.1" +twine = "4.0.2" [tool.poetry.group.examples] optional = true @@ -77,7 +78,6 @@ rich = "13.3.2" six = "1.16.0" sniffio = "1.3.0" starlette = ">=0.27.0,<0.28.0" -twine = "4.0.2" urllib3 = "1.26.15" uvicorn = "0.21.1" webencodings = "0.5.1"