Skip to content

Commit

Permalink
Fix 10
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Aug 20, 2024
1 parent 284f1d8 commit 8500b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}" ]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sw-utils"
version = "0.6.20"
version = "v0.6.20"
description = "StakeWise Python utils"
authors = ["StakeWise Labs <[email protected]>"]
license = "GPL-3.0-or-later"
Expand Down

0 comments on commit 8500b4e

Please sign in to comment.