From a0125427e78a32cb89cdf530c712b996deeae605 Mon Sep 17 00:00:00 2001 From: Paul Orffer Date: Sun, 27 Oct 2024 19:04:50 +0200 Subject: [PATCH] fix: release workflow --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b4179d2..a88d61ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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