aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 15:09:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 15:09:32 +0200
commitc4712e0980fc9ada0d531f8a9dda58e20bef31d0 (patch)
tree85c715d345371643de7971dc1eabd58bf19834e8
parent8f3b0f246388db093c2719990e6503c9718e88ef (diff)
Bump version to 0.1.0.a1
-rw-r--r--bpkg/bpkg-version10
-rw-r--r--bpkg/bpkg.cxx5
-rw-r--r--build/bootstrap.build2
-rw-r--r--version2
4 files changed, 11 insertions, 8 deletions
diff --git a/bpkg/bpkg-version b/bpkg/bpkg-version
index 381fa56..21febff 100644
--- a/bpkg/bpkg-version
+++ b/bpkg/bpkg-version
@@ -4,6 +4,7 @@
#ifndef BPKG_VERSION // Note: using the version macro itself.
+#include <butl/version> // LIBBUTL_VERSION
#include <bpkg/version> // LIBBPKG_VERSION
// Version format is AABBCCDD where
@@ -27,14 +28,14 @@
// compatible, thought we might have a minimum version requirement.
//
// AABBCCDD
-#if (LIBBPKG_VERSION < 10000 || \
+#if (LIBBPKG_VERSION < 9901 || \
LIBBPKG_VERSION > 990000)
# error incompatible libbpkg version
#endif
// AABBCCDD
-#define BPKG_VERSION 10000
-#define BPKG_VERSION_STR "0.1.0"
+#define BPKG_VERSION 9901
+#define BPKG_VERSION_STR "0.1.0.a1"
// User agent.
//
@@ -72,6 +73,7 @@
#define BPKG_USER_AGENT \
"bpkg/" BPKG_VERSION_STR " (" BPKG_OS "; +http://build2.org) " \
- "libbpkg/" LIBBPKG_VERSION_STR
+ "libbpkg/" LIBBPKG_VERSION_STR \
+ "libbutl/" LIBBUTL_VERSION_STR
#endif // BPKG_VERSION
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
index e1cdce2..2f483c3 100644
--- a/bpkg/bpkg.cxx
+++ b/bpkg/bpkg.cxx
@@ -77,8 +77,9 @@ try
if (o.version ())
{
- cout << "bpkg " << BPKG_VERSION_STR << "; " <<
- "libbpkg " << LIBBPKG_VERSION_STR << endl
+ cout << "bpkg " << BPKG_VERSION_STR << endl
+ << "libbpkg " << LIBBPKG_VERSION_STR << endl
+ << "libbutl " << LIBBUTL_VERSION_STR << endl
<< "Copyright (c) 2014-2015 Code Synthesis Ltd" << endl
<< "This is free software released under the MIT license." << endl;
return 0;
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 9eca9c3..3402694 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -3,7 +3,7 @@
# license : MIT; see accompanying LICENSE file
project = bpkg
-version = 0.1.0
+version = 0.1.0.a1
using config
using dist
diff --git a/version b/version
index 6e8bf73..a69aed0 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.1.0
+0.1.0.a1