Skip to content

Commit

Permalink
Fix 8
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Aug 20, 2024
1 parent 8ef070c commit 8b9b561
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ jobs:

- name: Check version
run: |
echo "project_name=${{ github.event.repository.name }}" >> $GITHUB_ENV;
echo "project_version=`poetry version`" >> $GITHUB_ENV;
echo "project_version=`poetry version --short`" >> $GITHUB_ENV;
echo "tag_name=${{ github.ref_name }}" >> $GITHUB_ENV;
if [ "$project_version" != "$project_name $tag_name" ]; then
if [ "$project_version" != "$tag_name" ]; then
echo "Release version mismatch"
exit 1
fi

0 comments on commit 8b9b561

Please sign in to comment.