From 891ad37078a6fbe90e681f5b47327bc065ed4ce7 Mon Sep 17 00:00:00 2001 From: long2ice Date: Fri, 3 Feb 2023 13:38:04 +0800 Subject: [PATCH] ci: fix whl build --- .github/workflows/pypi.yml | 6 ++++-- asyncmy/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index e157791..a3576fb 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,5 +1,8 @@ name: pypi -on: [push, pull_request] +on: + release: + types: + - created jobs: build_wheels: runs-on: ${{ matrix.os }} @@ -28,7 +31,6 @@ jobs: upload: runs-on: ubuntu-latest needs: [ build_wheels, build_sdist ] - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: diff --git a/asyncmy/version.py b/asyncmy/version.py index 2a3a28b..80a1454 100644 --- a/asyncmy/version.py +++ b/asyncmy/version.py @@ -1 +1 @@ -__VERSION__ = "0.2.7-rc5" +__VERSION__ = "0.2.7-rc6" diff --git a/pyproject.toml b/pyproject.toml index fd145b5..b47e84a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ packages = [ ] readme = "README.md" repository = "https://github.com/long2ice/asyncmy.git" -version = "0.2.7-rc5" +version = "0.2.7-rc6" [tool.poetry.dependencies] python = "^3.7"