From 103fab624e61cf0a9495ee25503d83c1009889d6 Mon Sep 17 00:00:00 2001 From: ckaipf Date: Fri, 17 Nov 2023 15:23:43 +0100 Subject: [PATCH] Output raw string --- .github/workflows/cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 5fc091fa..6db596a8 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -45,7 +45,7 @@ jobs: name: Verify package version vs tag version # package version must be same with tag version run: | - PKG_VER="$(jq .version package.json)" + PKG_VER="$(jq -r .version package.json)" echo "Package version is $PKG_VER" >&2 echo "Tag version is ${{ steps.get_version_tag.outputs.version }}" >&2 if [ "$PKG_VER" != "${{ steps.get_version_tag.outputs.version }}" ]; then