Explorar el Código

Fix drone check due to app subfolder

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky hace 3 años
padre
commit
a9473d6158
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/checkIfRunDrone.sh

+ 1 - 1
scripts/checkIfRunDrone.sh

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