[libgweather/wip/hadess/bump-version-number] build: Bump version number




commit 8911c92d669ccca4b9756f3ef840c9abe4bad0c9
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 11 11:22:25 2021 +0100

    build: Bump version number
    
    The version number was older than the newest stable release, and prepare
    for lack of micro version number in future versions of GNOME.

 libgweather/gweather-version.h.in | 2 ++
 libgweather/meson.build           | 2 +-
 meson.build                       | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libgweather/gweather-version.h.in b/libgweather/gweather-version.h.in
index 551bdc91..fd5cc3fb 100644
--- a/libgweather/gweather-version.h.in
+++ b/libgweather/gweather-version.h.in
@@ -63,6 +63,8 @@
  *
  * LibGweather micro version component (e.g. 3 if %GWEATHER_VERSION is 1.2.3)
  *
+ * Since version 40 of the library, always 0.
+ *
  * Since: 3.12
  */
 #mesondefine GWEATHER_MICRO_VERSION
diff --git a/libgweather/meson.build b/libgweather/meson.build
index 97524e0b..d7f0d252 100644
--- a/libgweather/meson.build
+++ b/libgweather/meson.build
@@ -10,7 +10,7 @@ header_subdir = 'libgweather-3.0/libgweather'
 versionconf = configuration_data()
 versionconf.set('GWEATHER_MAJOR_VERSION', libgweather_version[0])
 versionconf.set('GWEATHER_MINOR_VERSION', libgweather_version[1])
-versionconf.set('GWEATHER_MICRO_VERSION', libgweather_version[2])
+versionconf.set('GWEATHER_MICRO_VERSION', 0)
 versionconf.set_quoted('GWEATHER_VERSION', meson.project_version())
 configure_file(
   input: 'gweather-version.h.in',
diff --git a/meson.build b/meson.build
index 9bf8e753..0e3d3bb4 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('libgweather', 'c',
-  version: '3.34.0',
+  version: '40.alpha',
   meson_version: '>= 0.50.0',
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]