Scons / Windows Release Builds:
authorThomas Dinges <blender@dingto.org>
Thu, 20 Dec 2012 08:54:37 +0000 (08:54 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 20 Dec 2012 08:54:37 +0000 (08:54 +0000)
* Don't put -release- string into the final .exe name.
blender-2.65-release-windows32.exe --> blender-2.65-windows32.exe

build_files/scons/tools/btools.py

index 19f4ac9..f767349 100644 (file)
@@ -47,10 +47,10 @@ def get_version():
 
         if (ver_base is not None) and (ver_char is not None) and (ver_cycle is not None):
             # eg '2.56a-beta'
-            if ver_cycle:
+            if ver_cycle != "release":
                 ver_display = "%s%s-%s" % (ver_base, ver_char, ver_cycle)
             else:
-                ver_display = "%s%s" % (ver_base, ver_char)  # assume release
+                ver_display = "%s%s" % (ver_base, ver_char)
 
             return ver_base, ver_display, ver_cycle