Skip to content

Commit

Permalink
Branch off stable-2.7
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Jul 6, 2021
1 parent 4ceba3e commit 301a237
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ steps:
- failure
branch:
- master
- stable-*

trigger:
branch:
- master
- stable-*
event:
- pull_request
- push
Expand Down Expand Up @@ -90,6 +92,7 @@ steps:
- failure
branch:
- master
- stable-*

services:
- name: server-master
Expand Down Expand Up @@ -118,6 +121,7 @@ services:
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
Expand Down Expand Up @@ -174,6 +178,7 @@ steps:
- failure
branch:
- master
- stable-*

services:
- name: server-stable
Expand Down Expand Up @@ -246,10 +251,12 @@ steps:
- failure
branch:
- master
- stable-*

trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
2 changes: 1 addition & 1 deletion scripts/analysis/analysis-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#6: DRONE_BUILD_NUMBER
#7: PULL_REQUEST_NUMBER

stableBranch="master"
stableBranch="stable-2.7"
repository="library"

ruby scripts/analysis/lint-up.rb $1 $2 $3
Expand Down
4 changes: 2 additions & 2 deletions scripts/analysis/getBranchName.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# $1: username, $2: password/token, $3: pull request number

if [ -z $3 ] ; then
echo "master";
echo "stable-2.7";
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.7"' | cut -d"\"" -f4
fi

0 comments on commit 301a237

Please sign in to comment.