check also branch name when skipping rebase

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-15 16:53:56 +02:00
parent 3226309bab
commit c90fe74d9f
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def doGitRebase() {
println 'Skipping rebase for canary build...'
return
}
if (params.BUILD_TYPE == 'release') {
if (params.BUILD_TYPE == 'release' || branchName().startsWith('release/')) {
println 'Skipping rebase due to release build...'
return
}