[Kimchi-devel] [PATCH] [Kimchi 1/2] Add release number to Kimchi version

Aline Manera alinefm at linux.vnet.ibm.com
Wed Feb 24 14:40:08 UTC 2016


Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 config.py.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.py.in b/config.py.in
index 3ddae46..3c1c13a 100644
--- a/config.py.in
+++ b/config.py.in
@@ -31,13 +31,14 @@ kimchiLock = threading.Lock()
 
 __with_spice__ = "@withspice@"
 __version__ = "@kimchiversion@"
+__release__ = "@kimchirelease@"
 
 # Storage pool constant for read-only pool types
 READONLY_POOL_TYPE = ['iscsi', 'scsi', 'mpath']
 
 
 def get_kimchi_version():
-    return __version__
+    return "-".join([__version__, __release__])
 
 
 def get_distros_store():
-- 
2.5.0




More information about the Kimchi-devel mailing list