From 8c37c92dbe1ff9d35889e9ba73da91582f023b18 Mon Sep 17 00:00:00 2001 From: artdotlis Date: Tue, 23 Sep 2025 11:40:19 +0000 Subject: [PATCH] fix: correct version grep regex --- .github/workflows/new_tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/new_tag.yml b/.github/workflows/new_tag.yml index ace6ca6..b7ca19f 100644 --- a/.github/workflows/new_tag.yml +++ b/.github/workflows/new_tag.yml @@ -20,7 +20,7 @@ jobs: - name: Get version from pyproject.toml id: get_version run: | - VERSION=$(grep '^version' pyproject.toml | cut -d '"' -f2) + VERSION=$(grep '^version\s*=' pyproject.toml | cut -d '"' -f2) echo "Detected version: $VERSION" echo "version=$VERSION" >> $GITHUB_OUTPUT