Skip to content

Commit

Permalink
Merge pull request #11 from lasisilab/ci/release-action
Browse files Browse the repository at this point in the history
ci: release action
  • Loading branch information
jakevc authored Feb 12, 2024
2 parents 9d8bc54 + a4983ca commit a1b2d1f
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 a1b2d1f

Please sign in to comment.