From 071b50ee012288ea3329f660e95c12600c4b7ee1 Mon Sep 17 00:00:00 2001 From: Mohamed Nasser Date: Sat, 31 Aug 2024 16:33:26 +0300 Subject: [PATCH] use poetry instead of python --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7080a73..99fbce0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -54,7 +54,7 @@ jobs: - name: Create tag run: | - current_version=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])") + current_version=$( poetry run python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])") git tag $current_version git push origin $current_version