Merge pull request #4258 from nextcloud/enhanceDroneCheck
check if drone should run: also when build.gradle changed
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user