diff --git a/scripts/analysis/analysis-wrapper.sh b/scripts/analysis/analysis-wrapper.sh index 5d5f8b09d814..0509036ba8e5 100755 --- a/scripts/analysis/analysis-wrapper.sh +++ b/scripts/analysis/analysis-wrapper.sh @@ -11,7 +11,7 @@ BUILD_NUMBER=$4 PR_NUMBER=$5 -stableBranch="master" +stableBranch="stable-3.31" repository="android" ruby scripts/analysis/lint-up.rb diff --git a/scripts/analysis/getBranchName.sh b/scripts/analysis/getBranchName.sh index cdc4a236711e..65c823a2b11a 100755 --- a/scripts/analysis/getBranchName.sh +++ b/scripts/analysis/getBranchName.sh @@ -7,7 +7,7 @@ # $1: username, $2: password/token, $3: pull request number if [ -z $3 ] ; then - echo "master"; + echo "stable-3.31"; else - curl 2>/dev/null -u $1:$2 https://api.github.com/repos/nextcloud/android/pulls/$3 | grep \"ref\": | grep -v '"master"' | cut -d"\"" -f4 + curl 2>/dev/null -u $1:$2 https://api.github.com/repos/nextcloud/android/pulls/$3 | grep \"ref\": | grep -v '"stable-3.31"' | cut -d"\"" -f4 fi