From 7a0b7fd30e78b997990d22eb39e729572bebbf5d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Dec 2015 08:57:24 +0200 Subject: 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. --- bpkg/version | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'bpkg') 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 // 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 -- cgit v1.1