Browse code

Merge "support proposed/* branches"

Jenkins authored on 2014/10/16 07:02:08
Showing 1 changed files
... ...
@@ -522,8 +522,7 @@ function is_ubuntu {
522 522
 # ``get_release_name_from_branch branch-name``
523 523
 function get_release_name_from_branch {
524 524
     local branch=$1
525
-
526
-    if [[ $branch =~ "stable/" ]]; then
525
+    if [[ $branch =~ "stable/" || $branch =~ "proposed/" ]]; then
527 526
         echo ${branch#*/}
528 527
     else
529 528
         echo "master"