Ver Fonte

sync-nebula-integtest.sh

Rob Winch há 5 anos atrás
pai
commit
fdd8b2bf6b
1 ficheiros alterados com 9 adições e 0 exclusões
  1. 9 0
      sync-nebula-integtest.sh

+ 9 - 0
sync-nebula-integtest.sh

@@ -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'/"