X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fbranch.sh;h=e0377d63244b2d24027f21cd297683b7bdd1f1ac;hp=558a2b617ebc057bf95bfa330ec87ce3b6b898c1;hb=9e2e4eaa2c6854eee47f7057d16b75339f453f89;hpb=8bb28bf06f4a406661d934b71139f2a1c7c38159 diff --git a/resources/libraries/bash/function/branch.sh b/resources/libraries/bash/function/branch.sh index 558a2b617e..e0377d6324 100644 --- a/resources/libraries/bash/function/branch.sh +++ b/resources/libraries/bash/function/branch.sh @@ -1,4 +1,4 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -55,6 +55,9 @@ function checkout_csit_for_vpp () { "stable/"*) branch_id="origin/${1/stable\//oper-rls}" ;; + "rls"*) + branch_id="origin/oper-${1}" + ;; *) # This includes "master". branch_id="origin/oper" esac