Skip to content

Commit

Permalink
chore: excludes private DX package from release set (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
stalniy authored Nov 21, 2023
1 parent 880ecae commit fc297de
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/dx/bin/release-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ if [ "$changed_paths" = "" ];then
echo '
Usage:
./release-packages.sh "packages/casl-ability"
./release-packages.sh "packages/casl-ability packages/casl-angular"
./release-packages.sh '
packages/casl-ability
packages/casl-angular
'
';
exit;
exit 1;
fi

changed_packages="$(echo "$changed_paths" | grep 'packages/')";
changed_packages="$(echo "$changed_paths" | grep 'packages/' | grep -v packages/dx)";

if [ "$changed_packages" = "" ]; then
echo "No packages to release" >> $GITHUB_STEP_SUMMARY;
Expand Down

0 comments on commit fc297de

Please sign in to comment.