Skip to content

Commit

Permalink
chore: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
stalniy committed Nov 21, 2023
1 parent 8d19d2d commit 5c61b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c61b8c

Please sign in to comment.