Fix sync scripts

Closes gh-134
This commit is contained in:
Marcus Da Coregio
2023-06-21 10:52:50 -03:00
parent a4a0cb7b73
commit 33052562bc
5 changed files with 5 additions and 5 deletions

View File

@@ -6,4 +6,4 @@ if [[ "$BOOT_VERSION" == "" ]]; then
echo "Missing boot-version. Usage: sync-boot-version.sh <boot-version>"
exit 1
fi
find -mindepth 2 -name build.gradle | xargs sed -i -E "s/(id 'org.springframework.boot' version ').*?'/\1$BOOT_VERSION'/"
find . -mindepth 2 -name build.gradle | xargs sed -i '' -E "s/(id 'org.springframework.boot' version ')[^']+'/\1$BOOT_VERSION'/"