From fdd8b2bf6bd426effd6dd1ab840210ee62d07181 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 27 Aug 2020 15:31:08 -0500 Subject: [PATCH] sync-nebula-integtest.sh --- sync-nebula-integtest.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 sync-nebula-integtest.sh diff --git a/sync-nebula-integtest.sh b/sync-nebula-integtest.sh new file mode 100755 index 0000000..3567234 --- /dev/null +++ b/sync-nebula-integtest.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +export VERSION=$1 + +if [[ "VERSION" == "" ]]; then + echo "Missing version. Usage: sync-nebula-integtest.sh " + exit 1 +fi +find -mindepth 2 -name build.gradle | xargs sed -i -E "s/(id 'nebula.integtest' version ').*?'/\1$VERSION'/" \ No newline at end of file