mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
c78c79aaf1
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
10 lines
296 B
Bash
Executable file
10 lines
296 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
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"
|
|
exit 1
|
|
else
|
|
echo "Source files changed -> continue with CI"
|
|
exit 0
|
|
fi
|