From fc297dee49fee336beae0ade684b0a812011d79e Mon Sep 17 00:00:00 2001 From: Sergii Stotskyi Date: Tue, 21 Nov 2023 17:47:57 +0200 Subject: [PATCH] chore: excludes private DX package from release set (#851) --- packages/dx/bin/release-packages.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/dx/bin/release-packages.sh b/packages/dx/bin/release-packages.sh index 7cfe04c75..aa32b37f8 100755 --- a/packages/dx/bin/release-packages.sh +++ b/packages/dx/bin/release-packages.sh @@ -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;