Skip to content

Commit

Permalink
Removing check
Browse files Browse the repository at this point in the history
  • Loading branch information
josead committed Sep 9, 2024
1 parent b00d30e commit 5aaa196
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- name: Check version consistency
run: |
PYPROJECT_VERSION=$(poetry version -s)
RELEASE_VERSION=${{ steps.get_version.outputs.VERSION }}
if [ "v$PYPROJECT_VERSION" != "$RELEASE_VERSION" ]; then
echo "Error: Version mismatch. pyproject.toml version ($PYPROJECT_VERSION) does not match release tag ($RELEASE_VERSION)"
exit 1
fi

- name: Build and publish
run: |
Expand Down

0 comments on commit 5aaa196

Please sign in to comment.