From 514bc0122d2e8c661664b14067ec57e43b1485d9 Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Tue, 29 Dec 2020 12:58:15 +0300 Subject: [PATCH] jq -r --- .github/workflows/publish_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 81869a6..225d4d1 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -28,7 +28,7 @@ jobs: PATH="$(yarn global bin):$PATH" # take npm version and increment it - PKG_NAME="$(cat package.json | jq .name)" + PKG_NAME="$(cat package.json | jq -r .name)" NPM_VERSION="$(yarn info --silent "$PKG_NAME" version || true)" NEXT_NPM_VERSION="$(semver --increment patch "$NPM_VERSION")"