diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2128bcd..b458828 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,7 +40,7 @@ jobs: - uses: ./.github/actions/install-packages - name: get version from `pyproject.toml` run: | - package_version=$(grep -m 1 version pyproject.toml | grep -e '\d.\d.\d' -o) + package_version=$(grep -m 1 version pyproject.toml | grep -Ee '[0-9]+.[0-9]+.[0-9]+' -o) echo "GIT_TAG_VERSION=$package_version" >> $GITHUB_ENV - uses: rickstaa/action-create-tag@v1 id: create-tag