diff options
author | Thomas Haller <thaller@redhat.com> | 2016-08-25 12:24:16 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-08-25 14:58:06 +0200 |
commit | 2a314557c778c5a77b0c5ae4d14484897b5cccfc (patch) | |
tree | 261b64e6ca7ea87b37dcb8ec8681eadc15385d7b | |
parent | 93b4119a81af57c274ac58210a8776afecf2a252 (diff) | |
parent | bdaa3acfc30b789e45f79934e1c3c8c3428d7864 (diff) |
release: bump version to 1.5.1-dev after 1.4.0 release1.5.1-dev
After 1.4.0 is released, merge it back into master so that
1.4.0 is part of the history of master. That means,
$ git log --first-parent master
will also traverse 1.4.0 and 1.4.0-rc1.
Also, the closest branch parent of master and nm-1-4 branch
becomes 1.4.0 tag.
Also bump the micro version to 1.5.1-dev to indicate that this is
after 1.4.0 is out, otherwise `git describe` uses the 1.4.0 tag.
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | libnm-core/nm-version.h | 14 | ||||
-rw-r--r-- | libnm-util/nm-version.h | 14 | ||||
-rw-r--r-- | shared/nm-version-macros.h.in | 5 |
4 files changed, 33 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 8659fdc50c..31f38fdfe5 100644 --- a/configure.ac +++ b/configure.ac @@ -2,8 +2,8 @@ AC_PREREQ([2.63]) dnl The NM version number m4_define([nm_major_version], [1]) -m4_define([nm_minor_version], [4]) -m4_define([nm_micro_version], [0]) +m4_define([nm_minor_version], [5]) +m4_define([nm_micro_version], [1]) m4_define([nm_version], [nm_major_version.nm_minor_version.nm_micro_version]) m4_define([nm_git_sha], [m4_esyscmd([ ( [ -d ./.git/ ] && [ "$(readlink -f ./.git/)" = "$(readlink -f "$(git rev-parse --git-dir 2>/dev/null)" 2>/dev/null)" ] && git rev-parse --verify -q HEAD 2>/dev/null ) || true ])]) diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h index d7f112bf93..aa92c3f813 100644 --- a/libnm-core/nm-version.h +++ b/libnm-core/nm-version.h @@ -104,4 +104,18 @@ # define NM_AVAILABLE_IN_1_4 #endif +#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_6 +# define NM_DEPRECATED_IN_1_6 G_DEPRECATED +# define NM_DEPRECATED_IN_1_6_FOR(f) G_DEPRECATED_FOR(f) +#else +# define NM_DEPRECATED_IN_1_6 +# define NM_DEPRECATED_IN_1_6_FOR(f) +#endif + +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_6 +# define NM_AVAILABLE_IN_1_6 G_UNAVAILABLE(1,6) +#else +# define NM_AVAILABLE_IN_1_6 +#endif + #endif /* NM_VERSION_H */ diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h index 760151a68f..b8b32306e0 100644 --- a/libnm-util/nm-version.h +++ b/libnm-util/nm-version.h @@ -104,4 +104,18 @@ # define NM_AVAILABLE_IN_1_4 #endif +#if NM_VERSION_MIN_REQUIRED >= NM_VERSION_1_6 +# define NM_DEPRECATED_IN_1_6 G_DEPRECATED +# define NM_DEPRECATED_IN_1_6_FOR(f) G_DEPRECATED_FOR(f) +#else +# define NM_DEPRECATED_IN_1_6 +# define NM_DEPRECATED_IN_1_6_FOR(f) +#endif + +#if NM_VERSION_MAX_ALLOWED < NM_VERSION_1_6 +# define NM_AVAILABLE_IN_1_6 G_UNAVAILABLE(1,6) +#else +# define NM_AVAILABLE_IN_1_6 +#endif + #endif /* NM_VERSION_H */ diff --git a/shared/nm-version-macros.h.in b/shared/nm-version-macros.h.in index d67aab4cc7..bc76812793 100644 --- a/shared/nm-version-macros.h.in +++ b/shared/nm-version-macros.h.in @@ -69,8 +69,9 @@ #define NM_VERSION_1_0 (NM_ENCODE_VERSION (1, 0, 0)) #define NM_VERSION_1_2 (NM_ENCODE_VERSION (1, 2, 0)) #define NM_VERSION_1_4 (NM_ENCODE_VERSION (1, 4, 0)) +#define NM_VERSION_1_6 (NM_ENCODE_VERSION (1, 6, 0)) -#define NM_VERSION_CUR_STABLE NM_VERSION_1_2 -#define NM_VERSION_NEXT_STABLE NM_VERSION_1_4 +#define NM_VERSION_CUR_STABLE NM_VERSION_1_4 +#define NM_VERSION_NEXT_STABLE NM_VERSION_1_6 #endif /* __NM_VERSION_MACROS_H__ */ |