[xiphos-source] [crosswire/xiphos] 7a8cd0: Generate version string at build time from git tag...

Caleb Maclennan noreply at github.com
Sat Apr 18 20:20:07 MST 2020


  Branch: refs/heads/master
  Home:   https://github.com/crosswire/xiphos
  Commit: 7a8cd00158b933dce54f9dd5ee0f318558270ca0
      https://github.com/crosswire/xiphos/commit/7a8cd00158b933dce54f9dd5ee0f318558270ca0
  Author: Caleb Maclennan <caleb at alerque.com>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M .travis.yml
    M CMakeLists.txt
    A cmake/modules/GetGitRevisionDescription.cmake
    A cmake/modules/GetGitRevisionDescription.cmake.in

  Log Message:
  -----------
  Generate version string at build time from git tags (#979)

* Add CMake module to automatically handle version

Module source code copied from:

    https://github.com/rpavlik/cmake-modules

Used under the terms of the Boost Software License - Version 1.0:

    http://www.boost.org/LICENSE_1_0.txt

Co-authored-by: Ryan Pavlik <rpavlik at iastate.edu>
Co-authored-by: Luís Pereira <luis.artur.pereira at gmail.com>
Co-authored-by: Scott Mansell <phiren at gmail.com>
Co-authored-by: Raimar Sandner <raimar.sandner at uibk.ac.at>
Co-authored-by: Kai Nacke <kai at redstar.de>
Co-authored-by: Meinersbur <github at meinersbur.de>
Co-authored-by: noma <ma.noack.pr at gmail.com>
Co-authored-by: Mal <38064672+malicious at users.noreply.github.com>

* Configure version string at build time

Tagged releases will have the normal three parts:

    MAJOR.MINOR.PATCH

Non-tagged releases will include a counter since last tag:

    MAJOR.MINOR.PATCH.TWEAK

* Add git tooling and repo tags to CI build environments

* Store git version info in file, read for tarball builds

Co-authored-by: Ryan Pavlik <rpavlik at iastate.edu>
Co-authored-by: Luís Pereira <luis.artur.pereira at gmail.com>
Co-authored-by: Scott Mansell <phiren at gmail.com>
Co-authored-by: Raimar Sandner <raimar.sandner at uibk.ac.at>
Co-authored-by: Kai Nacke <kai at redstar.de>
Co-authored-by: Meinersbur <github at meinersbur.de>
Co-authored-by: noma <ma.noack.pr at gmail.com>
Co-authored-by: Mal <38064672+malicious at users.noreply.github.com>





More information about the xiphos-source mailing list