mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Detect stable branches on the fly
Stable branches are 'master' or 'stable-*'. Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
7a6fa9a444
commit
050fb81a32
@ -8,9 +8,15 @@
|
|||||||
#6: DRONE_BUILD_NUMBER
|
#6: DRONE_BUILD_NUMBER
|
||||||
#7: PULL_REQUEST_NUMBER
|
#7: PULL_REQUEST_NUMBER
|
||||||
|
|
||||||
stableBranch="master"
|
|
||||||
repository="talk"
|
repository="talk"
|
||||||
|
|
||||||
|
if [[ $3 = \stable-* ]] ; then
|
||||||
|
stableBranch=$3
|
||||||
|
else
|
||||||
|
stableBranch="master"
|
||||||
|
fi
|
||||||
|
|
||||||
ruby scripts/analysis/lint-up.rb $1 $2 $3
|
ruby scripts/analysis/lint-up.rb $1 $2 $3
|
||||||
lintValue=$?
|
lintValue=$?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user