Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f3c2a4d
)
Fix: select correct oper branch checkout_csit_for_vpp
23/26323/1
author
Jan Gelety
<jgelety@cisco.com>
Fri, 27 Mar 2020 16:04:55 +0000
(17:04 +0100)
committer
Jan Gelety
<jgelety@cisco.com>
Thu, 2 Apr 2020 15:08:17 +0000
(15:08 +0000)
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Change-Id: I2e72b7e136d3907a038cb7729c11d155a12c486f
(cherry picked from commit
9e2e4eaa2c6854eee47f7057d16b75339f453f89
)
resources/libraries/bash/function/branch.sh
patch
|
blob
|
history
diff --git
a/resources/libraries/bash/function/branch.sh
b/resources/libraries/bash/function/branch.sh
index
558a2b6
..
e0377d6
100644
(file)
--- a/
resources/libraries/bash/function/branch.sh
+++ b/
resources/libraries/bash/function/branch.sh
@@
-1,4
+1,4
@@
-# Copyright (c) 20
18
Cisco and/or its affiliates.
+# Copyright (c) 20
20
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