From 1ba23b99ebf865527aa0cdc58681805c38fdf3dd Mon Sep 17 00:00:00 2001 From: Assem Date: Sat, 9 Dec 2023 23:26:00 +0400 Subject: [PATCH] fix release regex --- .github/workflows/release.yml | 2 +- jet/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4859650..0eff74d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,6 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - sed -i "s/version=v[0-9a-zA-Z.]\{1,\}/VERSION='$(echo ${GITHUB_REF:10})'/g" jet/__init__.py + sed -i "s/VERSION='[0-9a-zA-Z.]\{1,\}'/VERSION='$(echo ${GITHUB_REF:10})'/g" jet/__init__.py python setup.py sdist python -m twine upload dist/* \ No newline at end of file diff --git a/jet/__init__.py b/jet/__init__.py index 88f9db18..09f85d25 100644 --- a/jet/__init__.py +++ b/jet/__init__.py @@ -1 +1 @@ -VERSION = '1.3.2' +VERSION='1.3.2'