From 1a273340b9bd8ed1a4d663df865c3355337f7ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey=20Vilas?= Date: Mon, 25 Oct 2021 15:59:02 +0200 Subject: [PATCH] scripts: Bump stableBranch to 2.8 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 d9d5dd3d0..60851b584 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.8" repository="library" ruby scripts/analysis/lint-up.rb $1 $2 $3 diff --git a/scripts/analysis/getBranchName.sh b/scripts/analysis/getBranchName.sh index 45c38cf73..01392e36f 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.8"; 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.8"' | cut -d"\"" -f4 fi