diff options
author | Jan Gelety <jgelety@cisco.com> | 2020-03-27 17:04:55 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-04-02 15:08:17 +0000 |
commit | 5bff1207fe027f59f1a8523a90b5d48f8a040594 (patch) | |
tree | c5b919e0ac0cdefac1b236c61586655147601f09 /resources | |
parent | f3c2a4d8551c1ac0d05ebff4f5e7f492fb2e80d6 (diff) |
Fix: select correct oper branch checkout_csit_for_vpp
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Change-Id: I2e72b7e136d3907a038cb7729c11d155a12c486f
(cherry picked from commit 9e2e4eaa2c6854eee47f7057d16b75339f453f89)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/bash/function/branch.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |