Skip to content

Commit

Permalink
Update pypi_publish.yaml for pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed Oct 2, 2023
1 parent a444cfb commit 4aa0794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Verify Package Version vs Tag Version
run: |
PKG_VER="$(python setup.py -V)"
PKG_VER=$(grep -oP 'version = "\K[^"]+' pyproject.toml)
TAG_VER="${GITHUB_REF##*/}"
echo "Package version is $PKG_VER" >&2
echo "Tag version is $TAG_VER" >&2
Expand Down

0 comments on commit 4aa0794

Please sign in to comment.