sync-nebula-integtest.sh

This commit is contained in:
Rob Winch 2020-08-27 15:31:08 -05:00
parent 96c7526843
commit fdd8b2bf6b
1 changed files with 9 additions and 0 deletions

9
sync-nebula-integtest.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
export VERSION=$1
if [[ "VERSION" == "" ]]; then
echo "Missing version. Usage: sync-nebula-integtest.sh <version>"
exit 1
fi
find -mindepth 2 -name build.gradle | xargs sed -i -E "s/(id 'nebula.integtest' version ').*?'/\1$VERSION'/"