diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-08 08:57:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-08 08:57:24 +0200 |
commit | 7a0b7fd30e78b997990d22eb39e729572bebbf5d (patch) | |
tree | 1f66695dbe3932c6a65106802fc6c2fc1428fc05 /bpkg | |
parent | 5a5b32d0142ab979da6bdfaf7f888cab6da4d1d4 (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.
Diffstat (limited to 'bpkg')
-rw-r--r-- | bpkg/version | 18 |
1 files changed, 15 insertions, 3 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 |