diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 671d221..fcc1f29 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,8 +39,8 @@ jobs: - uses: ./.github/actions/install-packages - name: get version from `pyproject.toml` run: | - package_version=($(uv version)) - echo "GIT_TAG_VERSION=$package_version[2]" >> $GITHUB_ENV + package_version=`grep -m 1 version pyproject.toml | grep -e '\d.\d.\d' -o` + echo "GIT_TAG_VERSION=$package_version" >> $GITHUB_ENV - uses: rickstaa/action-create-tag@v1 id: create-tag with: diff --git a/pyproject.toml b/pyproject.toml index 36d6a15..a1f38b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "jpyc-python-sdks" version = "1.0.0" -requires-python = ">=3.11" +requires-python = ">=3.12" description = "Python SDKs for JPYC protocols" readme = "README.md"