[gnome-builder] about: use symbolic release identifier (40.alpha1)
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] about: use symbolic release identifier (40.alpha1)
- Date: Thu, 18 Feb 2021 21:25:33 +0000 (UTC)
commit d552a8234014e543f973e1c2037c950dcfe68735
Author: Christian Hergert <chergert redhat com>
Date: Thu Feb 18 13:25:10 2021 -0800
about: use symbolic release identifier (40.alpha1)
meson.build | 3 +++
src/libide/gui/ide-application-actions.c | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 379ea32fb..05db0cad9 100644
--- a/meson.build
+++ b/meson.build
@@ -9,6 +9,8 @@ project('gnome-builder', 'c',
],
)
+symbolic_release = '40.alpha1'
+
version_split = meson.project_version().split('.')
MAJOR_VERSION = version_split[0]
MINOR_VERSION = version_split[1]
@@ -75,6 +77,7 @@ status += [
]
config_h = configuration_data()
+config_h.set_quoted('SYMBOLIC_RELEASE', symbolic_release)
config_h.set_quoted('PACKAGE_NAME', 'gnome-builder')
config_h.set_quoted('PACKAGE_ABI_S', libide_api_version)
config_h.set('PACKAGE_ABI', libide_api_version)
diff --git a/src/libide/gui/ide-application-actions.c b/src/libide/gui/ide-application-actions.c
index 5f46c581c..c06d8c76b 100644
--- a/src/libide/gui/ide-application-actions.c
+++ b/src/libide/gui/ide-application-actions.c
@@ -127,12 +127,12 @@ ide_application_actions_about (GSimpleAction *action,
}
}
- version = g_string_new (NULL);
+ version = g_string_new (SYMBOLIC_RELEASE);
if (!g_str_equal (IDE_BUILD_TYPE, "release"))
- g_string_append (version, IDE_BUILD_IDENTIFIER);
+ g_string_append (version, "\n(" IDE_BUILD_IDENTIFIER ")");
else
- g_string_append (version, PACKAGE_VERSION);
+ g_string_append (version, "\n(" PACKAGE_VERSION ")");
if (g_strcmp0 (IDE_BUILD_CHANNEL, "other") != 0)
g_string_append (version, "\n" IDE_BUILD_CHANNEL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]