[yocto-autobuilder-helper][whinlatter 4/5] scripts/utils: Milestones are now yocto- prefixed

Yoann Congal <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <7fbedceeee77bd81219660a0254a68721beec750.1776323183.git.yoann.congal@smile.fr>
From: Richard Purdie <[email protected]>

Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 1a4d66183644561412603af75ef5e90e54680a24)
Signed-off-by: Yoann Congal <[email protected]>
---
 scripts/utils.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/scripts/utils.py b/scripts/utils.py
index b472451..88842f0 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -524,10 +524,7 @@ def get_string_from_version(version, milestone=None, rc=None):
     return result
 
 def get_tag_from_version(version, milestone):
-    if not milestone:
-        return "yocto-" + get_string_from_version(version, milestone)
-    return get_string_from_version(version, milestone)
-
+    return "yocto-" + get_string_from_version(version, milestone)
 
 def get_version_from_string(raw_version):
     """ Get version as list of int from raw_version.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.