diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ffc521693..d2b38ce36 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,7 +64,7 @@ jobs: VERSION=$(awk '/"version":/ { print substr($2, 2, length($2)-3); exit }' app/package.json) TAG_VERSION=${{ github.ref_name }} - if [[ "$VERSION" -ne "$TAG_VERSION" ]]; then + if [ "$VERSION" != "$TAG_VERSION" ]; then echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION" EC=0 exit 1