Parcourir la source

Merge pull request #10075 from nextcloud/fixDroneCheck

Fix drone check due to app subfolder
Tobias Kaminsky il y a 3 ans
Parent
commit
bce8866961
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      scripts/checkIfRunDrone.sh

+ 1 - 1
scripts/checkIfRunDrone.sh

@@ -6,7 +6,7 @@ if [ -z $3 ] ; then
 fi
 
 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"
     exit 1
 else