From 8500b4e92da0f834eb89f1adcfce0ac1fdf743e4 Mon Sep 17 00:00:00 2001 From: Evgeny Gusarov Date: Tue, 20 Aug 2024 19:24:07 +0300 Subject: [PATCH] Fix 10 --- .github/workflows/release.yaml | 6 ++---- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0879f75..605623c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ on: jobs: checks: - name: Version check + name: Check project version matches tag name runs-on: ubuntu-latest steps: - name: Checkout code @@ -33,6 +33,4 @@ jobs: - name: Check version run: | - echo "project_version=`poetry version --short`" >> $GITHUB_ENV; - echo "tag_name=${{ github.ref_name }}" >> $GITHUB_ENV; - [ "$project_version" == "$tag_name" ] + [ "`poetry version --short`" == "${{ github.ref_name }}" ] diff --git a/pyproject.toml b/pyproject.toml index b4218df..5cf97a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sw-utils" -version = "0.6.20" +version = "v0.6.20" description = "StakeWise Python utils" authors = ["StakeWise Labs "] license = "GPL-3.0-or-later"