check also branch name when skipping rebase
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3226309bab
commit
c90fe74d9f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue