mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-18 21:18:15 +00: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
|
||||
#7: PULL_REQUEST_NUMBER
|
||||
|
||||
stableBranch="master"
|
||||
|
||||
repository="talk"
|
||||
|
||||
if [[ $3 = \stable-* ]] ; then
|
||||
stableBranch=$3
|
||||
else
|
||||
stableBranch="master"
|
||||
fi
|
||||
|
||||
ruby scripts/analysis/lint-up.rb $1 $2 $3
|
||||
lintValue=$?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user