From b59a68b1e8ab34fc06eeeaf59f23f8ca9e51f695 Mon Sep 17 00:00:00 2001 From: CodeWriter21 Date: Thu, 28 Mar 2024 01:26:44 +0330 Subject: [PATCH] fix: GitHub workflows --- .github/workflows/automatic-release.yml | 2 +- .github/workflows/pypi.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automatic-release.yml b/.github/workflows/automatic-release.yml index 3c717e4..0cce340 100644 --- a/.github/workflows/automatic-release.yml +++ b/.github/workflows/automatic-release.yml @@ -26,7 +26,7 @@ jobs: run: | python -m build pip install dist/*.whl - echo "PACKAGE_VERSION=$(pip show log21 | grep \"^Version: \" | cut -d \" \" -f 2)" >> $GITHUB_ENV + echo "PACKAGE_VERSION=$(pip show log21 | grep '^Version: ' | cut -d ' ' -f 2)" >> $GITHUB_ENV - name: check-version uses: KyoriPowered/action-regex-match@v3 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index e13aba9..4d02a45 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -27,7 +27,7 @@ jobs: run: | python -m build pip install dist/*.whl - echo "PACKAGE_VERSION=$(pip show log21 | grep \"^Version: \" | cut -d \" \" -f 2)" >> $GITHUB_ENV + echo "PACKAGE_VERSION=$(pip show log21 | grep '^Version: ' | cut -d ' ' -f 2)" >> $GITHUB_ENV - name: check-version uses: KyoriPowered/action-regex-match@v3