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...'
|
println 'Skipping rebase for canary build...'
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (params.BUILD_TYPE == 'release') {
|
if (params.BUILD_TYPE == 'release' || branchName().startsWith('release/')) {
|
||||||
println 'Skipping rebase due to release build...'
|
println 'Skipping rebase due to release build...'
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue