aldebaran/qibuild

qibuild reports the wrong version in CMake logs

Closed this issue · 2 comments

Seen on qibuild 3.11.12 from pypi.

qibuild --version reports 3.11.12 as expected:

$ qibuild --version
qibuild version 3.11.12
Using Python code from /usr/local/lib/python2.7/dist-packages
Using CMake code from /usr/local/share/cmake

but qibuild configure shows 3.11.6:

$ qibuild configure -c host
Current build worktree: /home/jenkins/w/master
Using toolchain: master-linux64
Using profile: all
* (1/1) Configuring gtest
-- Using qibuild 3.11.6

I suppose this file is wrong:

$ cat /usr/local/share/cmake/qibuild/version.cmake
## Copyright (c) 2012-2015 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.
set(QIBUILD_VERSION "3.11.6" CACHE STRING "qibuild version" FORCE)

Maybe you could try using bumpversion so that this does not happen anymore.

Beware of this bug though

fixed in qibuild 3.11.14