Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit adeea648 authored by Tobias Kaminsky's avatar Tobias Kaminsky Committed by GitHub
Browse files

merge commit should always run CI (#88)

merge commit should always run CI
parents 291741cf 2f2c9112
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
#!/bin/sh -e
#!/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)
export BRANCH=$(scripts/analysis/getBranchBase.sh $1 $2 $3 | sed s'/"//'g)
if [ $(git diff --name-only origin/$BRANCH | grep -Ec "^src|build.gradle") -eq 0 ] ; then
if [ $(git diff --name-only origin/$BRANCH | grep -Ec "^src|build.gradle") -eq 0 ] ; then
    echo "No source files changed"
    echo "No source files changed"