From 81849e7c9dcd7c41df0b309a04fed34429580748 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 31 Aug 2019 14:24:52 +0200 Subject: Buildbot: support building releases, make non-releases more consistent * Auto detect rc and release version cycle in BKE_blender_version.h. * On Windows, generate zip and installer if a release is detected. * On macOS, always generate a dmg instead of zip. * Use standard package names without hash if a release is detected. * Buildbot package names now match platform names in releases. Ref T67056 Differential Revision: https://developer.blender.org/D5643 --- source/blender/windowmanager/intern/wm_splash_screen.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/windowmanager/intern/wm_splash_screen.c') diff --git a/source/blender/windowmanager/intern/wm_splash_screen.c b/source/blender/windowmanager/intern/wm_splash_screen.c index 8629997030f..9cbcab9e3b2 100644 --- a/source/blender/windowmanager/intern/wm_splash_screen.c +++ b/source/blender/windowmanager/intern/wm_splash_screen.c @@ -139,6 +139,11 @@ static void wm_block_splash_add_labels(uiBlock *block, int x, int y) BLENDER_VERSION % 100, version_suffix); + const char *cycle_number_suffix = STRINGIFY(BLENDER_VERSION_CYCLE_NUMBER); + if (strlen(cycle_number_suffix)) { + BLI_snprintf(version_buf, sizeof(version_buf), "%s %s", version_buf, cycle_number_suffix); + } + wm_block_splash_add_label(block, version_buf, x, &y); #ifdef WITH_BUILDINFO -- cgit v1.2.3