From 85810f62e30330bb5134d35b8c068c8d57aaed74 Mon Sep 17 00:00:00 2001 From: Daniil Bolotov Date: Fri, 24 Jan 2025 11:25:49 +0200 Subject: [PATCH] Fixing path to package.json --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d4433a8..04b55f1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,9 +75,9 @@ jobs: exit 1 fi - ci_echo_debug "Getting value from packages\identitykit\package.json" >&2 - if ! VERSION=$(cat packages\identitykit\package.json | jq -er ".version"); then - ci_echo_error "Can't found version data from packages\identitykit\package.json" >&2 + ci_echo_debug "Getting value from ./packages/identitykit/package.json" >&2 + if ! VERSION=$(cat "${{ github.workspace }}/packages/identitykit/package.json" | jq -er ".version"); then + ci_echo_error "Can't found version data from ./packages/identitykit/package.json" >&2 exit 1 fi @@ -186,9 +186,9 @@ jobs: exit 1 fi - ci_echo_debug "Getting value from packages\identitykit\package.json" >&2 - if ! VERSION=$(cat packages\identitykit\package.json | jq -er ".version"); then - ci_echo_error "Can't found version data from packages\identitykit\package.json" >&2 + ci_echo_debug "Getting value from ./packages/identitykit/package.json" >&2 + if ! VERSION=$(cat "${{ github.workspace }}/packages/identitykit/package.json" | jq -er ".version"); then + ci_echo_error "Can't found version data from ./packages/identitykit/package.json" >&2 exit 1 fi