From e1646efdc162c9cca9476ebd0d1ddd77ff055517 Mon Sep 17 00:00:00 2001 From: Sergii Stotskyi Date: Tue, 21 Nov 2023 17:14:19 +0200 Subject: [PATCH] chore: fix release (#849) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ae02c6dd..33a1394e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,8 +47,8 @@ jobs: set -o xtrace # Trace the execution of the script (debug) fi - changed_paths="$(gh pr view --json files --jq '.files.[].path' "${{ github.event.pull_request.number }}" | cut -d / -f 1,2 | uniq)" - changed_packages="$(echo "$changed_paths" | grep ./packages)" + changed_paths="$(gh pr view --json files --jq '.files.[].path' "${{ github.event.pull_request.number }}" | cut -d / -f 1,2 | uniq)"; + changed_packages="$(echo "$changed_paths" | grep 'packages/')"; if [ "$changed_packages" = "" ]; then echo -e "No packages to release:\n ${changed_paths}" >> $GITHUB_STEP_SUMMARY