From bb694e10b35827c8ee8fb64675af37c7ef4eec0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey=20Vilas?= Date: Thu, 20 Jan 2022 12:45:01 +0100 Subject: [PATCH] Bump script branches for stable-2.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Brey Vilas --- scripts/analysis/analysis-wrapper.sh | 2 +- scripts/analysis/getBranchName.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/analysis/analysis-wrapper.sh b/scripts/analysis/analysis-wrapper.sh index 7fa22f59c..a0a33d853 100755 --- a/scripts/analysis/analysis-wrapper.sh +++ b/scripts/analysis/analysis-wrapper.sh @@ -8,7 +8,7 @@ #6: DRONE_BUILD_NUMBER #7: PULL_REQUEST_NUMBER -stableBranch="master" +stableBranch="stable-2.9" repository="library" ruby scripts/analysis/findbugs-up.rb $1 $2 $3 diff --git a/scripts/analysis/getBranchName.sh b/scripts/analysis/getBranchName.sh index 45c38cf73..3e3248560 100755 --- a/scripts/analysis/getBranchName.sh +++ b/scripts/analysis/getBranchName.sh @@ -3,7 +3,7 @@ # $1: username, $2: password/token, $3: pull request number if [ -z $3 ] ; then - echo "master"; + echo "stable-2.9"; else - curl 2>/dev/null -u $1:$2 https://api.github.com/repos/nextcloud/android-library/pulls/$3 | grep \"ref\": | grep -v '"master"' | cut -d"\"" -f4 + curl 2>/dev/null -u $1:$2 https://api.github.com/repos/nextcloud/android-library/pulls/$3 | grep \"ref\": | grep -v '"stable-2.9"' | cut -d"\"" -f4 fi