Explorar el Código

Merge pull request #4258 from nextcloud/enhanceDroneCheck

check if drone should run: also when build.gradle changed
Andy Scherzinger hace 5 años
padre
commit
3949238de0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/checkIfRunDrone.sh

+ 1 - 1
scripts/checkIfRunDrone.sh

@@ -1,7 +1,7 @@
 #!/bin/sh -e
 
 export BRANCH=$(scripts/analysis/getBranchBase.sh $1 $2 $3 | sed s'/"//'g)
-if [ $(git diff --name-only origin/$BRANCH | grep -c "^src") -eq 0 ] ; then
+if [ $(git diff --name-only origin/$BRANCH | grep -cE "^src|build.gradle") -eq 0 ] ; then
     echo "No source files changed"
     exit 1
 else