[libshumate/wip/no-odd] meson: Stop treating odd minor version as unstable
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate/wip/no-odd] meson: Stop treating odd minor version as unstable
- Date: Mon, 3 Oct 2022 21:11:30 +0000 (UTC)
commit ca49350c18eb629825aa1d68e47d0f2c7051afeb
Author: Marcus Lundblad <ml dfupdate se>
Date: Mon Oct 3 23:09:42 2022 +0200
meson: Stop treating odd minor version as unstable
Let's use .alpha and so on as micro versions leading
up to .0 instead.
meson.build | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5427b52..3a273ed 100644
--- a/meson.build
+++ b/meson.build
@@ -18,11 +18,7 @@ version_major = version_arr[0]
version_minor = version_arr[1]
version_micro = version_arr[2]
-if version_minor.to_int().is_odd()
- api_version = '.'.join([version_major, version_minor + 1])
-else
- api_version = '.'.join([version_major, version_minor])
-endif
+api_version = '.'.join([version_major, version_minor])
lib_version = '1.0'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]