Skip to content

Commit

Permalink
ci(workflows): fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed Nov 5, 2023
1 parent cebbee4 commit 0fa20eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
run: bun lint
- name: 🧑‍🍳 Check version exists
run: |
VERSION_EXISTS=$(npm show logixlysia version 2>/dev/null && echo "true" || echo "false")
if [ "$VERSION_EXISTS" = "true" ]; then
echo "Version already exists"
VERSION_EXISTS=$(npm show logixlysia version 2>/dev/null || echo "false")
if [ "$VERSION_EXISTS" != "false" ]; then
echo "Logixlysia version $VERSION_EXISTS already exists"
exit 1
fi
shell: bash
Expand Down

0 comments on commit 0fa20eb

Please sign in to comment.