Skip to content

Commit

Permalink
ci: release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevc committed Feb 12, 2024
1 parent 9d8bc54 commit a4983ca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:

- name: Check if tag matches the package version
run: |
PKG_VERSION = $(poetry version -s)
PKG_VERSION=$(poetry version -s)
TAG = ${GITHUB_REF#refs/tags/}
if [[ "v${PKG_VERSION}" != $TAG ]]; then
echo "Error: Tag ($TAG) does not match the package version (v${PKG_VERSION})."
if [[ "v$PKG_VERSION" != $TAG ]]; then
echo "Error: Tag ($TAG) does not match the package version (v$PKG_VERSION)."
exit 1
- name: Install Dependencies using Poetry
Expand Down

0 comments on commit a4983ca

Please sign in to comment.