mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
check if drone should run: also when build.gradle changed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
4d1016ebfe
commit
c78c79aaf1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue