From a924c280fbb1ecd49939b53516d0b41e0a288c7e Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" <128333288+ltdrdata@users.noreply.github.com> Date: Fri, 22 Aug 2025 06:08:59 +0900 Subject: [PATCH] Update publish-to-pypi.yml --- .github/workflows/publish-to-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index f96c027a..9a3e6c6f 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -31,7 +31,7 @@ jobs: - name: Get current version id: current_version run: | - CURRENT_VERSION=$(grep -oP 'version = "\K[^"]+' pyproject.toml) + CURRENT_VERSION=$(grep -oP '^version = "\K[^"]+' pyproject.toml) echo "version=$CURRENT_VERSION" >> $GITHUB_OUTPUT echo "Current version: $CURRENT_VERSION" @@ -55,4 +55,4 @@ jobs: with: password: ${{ secrets.PYPI_TOKEN }} skip-existing: true - verbose: true \ No newline at end of file + verbose: true