summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2022-03-21 14:41:56 -0500
committerMichael Catanzaro <mcatanzaro@redhat.com>2022-03-21 14:49:37 -0500
commitd41d108d992ea19a788f9aa3197bc0905ed70850 (patch)
tree987b02c2dca6373f5cd2a279415544e4e0aa89ff
parenta9ad6e704f9fead5748c2a9697990b01e91b9de0 (diff)
downloadgnome-desktop-mcatanzaro/libversion.tar.gz
Improve library versioning commentmcatanzaro/libversion
Mention compat_libversion. In practice, we don't update libversion if source code has not changed. Mention this. We should bump the version more aggressively after branching, to avoid identical versions on different branches.
-rw-r--r--meson.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 1f3997dc..f2e80007 100644
--- a/meson.build
+++ b/meson.build
@@ -7,12 +7,18 @@ project('gnome-desktop', 'c',
],
)
-# Before making a release, the libversion string should be modified.
+# Before making a release that changes the source code, the libversion and
+# compat_libversion strings should be modified. (No need to touch these for
+# releases with no code changes.)
#
# * Bump the first component if binary compatibility has been broken; or
# * Bump the second component if new APIs are added; or
# * Bump the third component otherwise.
#
+# After creating a new stable branch, the next release on the main branch should
+# bump the second component to ensure we don't wind up with the same libversion
+# for different releases on different branches.
+#
# When bumping the first component version, set the second and third components
# to 0. When bumping the second version, set the third one to zero.
#