aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/version18
-rw-r--r--build/bootstrap.build3
-rw-r--r--version2
3 files changed, 18 insertions, 5 deletions
diff --git a/bpkg/version b/bpkg/version
index cccdc7d..95f57c2 100644
--- a/bpkg/version
+++ b/bpkg/version
@@ -4,6 +4,8 @@
#ifndef LIBBPKG_VERSION // Note: using the version macro itself.
+#include <butl/version> // LIBBUTL_VERSION
+
// Version format is AABBCCDD where
//
// AA - major version number
@@ -20,9 +22,19 @@
// 2.2.0-a1 02019901
// 3.0.0-b2 02999952
//
-
// AABBCCDD
-#define LIBBPKG_VERSION 9901
-#define LIBBPKG_VERSION_STR "0.1.0-a1"
+#define LIBBPKG_VERSION 10000
+#define LIBBPKG_VERSION_STR "0.1.0"
+
+// Generally, we expect minor versions to be source code backwards-
+// compatible, thought we might have a minimum version requirement.
+//
+// Note: does not apply during early development.
+//
+// AABBCCDD
+#if (LIBBUTL_VERSION < 10000 || \
+ LIBBUTL_VERSION > 10000)
+# error incompatible libbutl version
+#endif
#endif // LIBBPKG_VERSION
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 3d6920e..35ac763 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -3,8 +3,9 @@
# license : MIT; see accompanying LICENSE file
project = libbpkg
-version = 0.1.0-a1
+version = 0.1.0
+using build@0.1.0
using config
using dist
using test
diff --git a/version b/version
index 74679d2..6e8bf73 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.1.0-a1
+0.1.0