diff --git a/scripts/cd.sh b/scripts/cd.sh index b93fc66d..a1cccbd7 100755 --- a/scripts/cd.sh +++ b/scripts/cd.sh @@ -4,7 +4,7 @@ set -e # Check all pyproject.toml files that have changed -for file in $(git diff --name-only HEAD~1..HEAD | grep pyproject.toml); do +for file in $(find . -print | sed 's|^./||' | grep -E "(^services/[^/]+/pyproject.toml$|^core/pyproject.toml$)"); do # Extract the current version and build the expected tag dirpath=$(dirname $file) expected_tag=$(scripts/helper.sh $dirpath --path-version)