Skip to content

Commit

Permalink
Fix pypi_publish regex (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: TheByronHimes <TheByronHimes@gmail.com>
  • Loading branch information
TheByronHimes and TheByronHimes committed Mar 12, 2024
1 parent cfcae95 commit 0d9df58
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="$(grep -oP 'version = "\K[^"]+' pyproject.toml)"
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 0d9df58

Please sign in to comment.