diff --git a/vars/buildStripesPlatform.groovy b/vars/buildStripesPlatform.groovy index acf6982..a306052 100644 --- a/vars/buildStripesPlatform.groovy +++ b/vars/buildStripesPlatform.groovy @@ -9,7 +9,7 @@ def call(String okapiUrl, String tenant, String branch='') { def foliociLib = new org.folio.foliociCommands() - if (!(branch =~ /^(r|R)\d{1}-\d{4}(-(rc|RC|hotfix-\d{1}))?$/)) { + if (!(branch =~ /^[rR]\d-\d{4}(-([rR][cC]|hotfix-\d))?$/) && !(branch =~ /\bmaster\b/)) { sh 'rm -f yarn.lock' }