diff --git a/scripts/update-service-tags.sh b/scripts/update-service-tags.sh index 04ad8fe16..c1bd684e8 100755 --- a/scripts/update-service-tags.sh +++ b/scripts/update-service-tags.sh @@ -7,7 +7,7 @@ set -e # in the following format e.g. v0.3.0 # Check all version files which have changed -for file in $(git diff --name-only HEAD~1..HEAD | grep -E "(^services/[^/]+/VERSION$|^core/VERSION$)"); do +for file in $(find . -print | sed 's|^./||' | grep -E "(^services/[^/]+/VERSION$|^core/VERSION$)"); do # Extract the current version and build the expected tag dirpath=$(dirname "$file")