aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-08 08:57:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-08 08:57:24 +0200
commit7a0b7fd30e78b997990d22eb39e729572bebbf5d (patch)
tree1f66695dbe3932c6a65106802fc6c2fc1428fc05
parent5a5b32d0142ab979da6bdfaf7f888cab6da4d1d4 (diff)
Change version back to 0.1.0
The new plan is to use 0.1.0, 0.2.0 rather than 0.1.0-a1, 0.1.0-a2 for early development. Easier on the eye and we have 99 versions instead of 49.
-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