Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
slipx06 committed Oct 27, 2024
1 parent 676db89 commit a012542
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
- name: Check if version is higher
id: check-version
run: |
latest_tag="${{ steps.get-latest-tag.outputs.tag }}"
if node -pe "const semver = require('semver'); semver.gt('${{ env.version }}', '${latest_tag}')"; then
if node -pe "const semver = require('semver'); semver.gt('${{ env.version }}', '${{ steps.get-latest-tag.outputs.tag }}')"; then
echo "is_higher_version=true" >> $GITHUB_ENV
else
echo "is_higher_version=false" >> $GITHUB_ENV
Expand Down

0 comments on commit a012542

Please sign in to comment.