From cbf4c83750a5b2c52366cc2cbb957fa3d732cead Mon Sep 17 00:00:00 2001 From: Livio Ribeiro Date: Wed, 17 Apr 2024 18:09:16 -0300 Subject: [PATCH] update publish process --- .github/workflows/publish.yml | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d95a9b9..e191d2b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,9 @@ on: tags: - "v*.*.*" +env: + VERSION: ${{ github.ref_name }} + jobs: publish: runs-on: ubuntu-latest @@ -17,6 +20,7 @@ jobs: python-version: "3.x" - run: pip install pipx - run: pipx install poetry + - run: poetry version ${VERSION#v} - run: poetry build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index a35418f..e160bc7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "selva" -version = "0.14.1" +version = "0.0.0" description = "ASGI Web Framework with Dependency Injection" authors = ["Livio Ribeiro "] license = "MIT"