Merge pull request #4261 from nextcloud/droneCheck

merge commit should always run drone
This commit is contained in:
Tobias Kaminsky authored and GitHub committed 2019-07-25 13:11:16 +02:00
commit 41c159ae49
1 file changed
+5
+5
View File
@@ -1,5 +1,10 @@
#!/bin/sh -e
if [ -z $3 ] ; then
echo "Merge commit to master -> continue with CI"
exit 0
fi
export BRANCH=$(scripts/analysis/getBranchBase.sh $1 $2 $3 | sed s'/"//'g)
if [ $(git diff --name-only origin/$BRANCH | grep -cE "^src|build.gradle") -eq 0 ] ; then
echo "No source files changed"