From 835f62ff072cd8306345a9aa4d8ffcfb95845b71 Mon Sep 17 00:00:00 2001 From: Kevin Huck Date: Thu, 28 Jan 2021 09:10:55 -0800 Subject: [PATCH] Updating APEX version --- CMakeLists.txt | 1 + src/apex/CMakeLists.hpx | 1 + src/apex/apex.cpp | 4 +++- src/scripts/make_release.txt | 10 ++++++++++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3132e176..d39b1bff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ project (APEX CXX C) set (APEX_DESCRIPTION "Autonomic Performance Environment for eXascale" CACHE STRING "APEX project description") set (APEX_VERSION_MAJOR 2 CACHE STRING "APEX Major Version") set (APEX_VERSION_MINOR 3 CACHE STRING "APEX Minor Version") +set (APEX_VERSION_PATCH 1 CACHE STRING "APEX Patch Version") set (APEX_HOMEPAGE_URL "http://github.com/khuck/xpress-apex" CACHE STRING "APEX homepage URL") cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) diff --git a/src/apex/CMakeLists.hpx b/src/apex/CMakeLists.hpx index 5ed587e7..9df67c6c 100644 --- a/src/apex/CMakeLists.hpx +++ b/src/apex/CMakeLists.hpx @@ -19,6 +19,7 @@ hpx_info("apex" "Will build APEX") set (APEX_VERSION_MAJOR 2) set (APEX_VERSION_MINOR 3) +set (APEX_VERSION_PATCH 1) if (NOT APEX_ROOT) if (EXISTS ${HPX_SOURCE_DIR}/apex) diff --git a/src/apex/apex.cpp b/src/apex/apex.cpp index 4b67c679..5f6996b4 100644 --- a/src/apex/apex.cpp +++ b/src/apex/apex.cpp @@ -204,7 +204,9 @@ void apex::_initialize() #if defined (GIT_TAG) tmp << GIT_TAG; #else - tmp << APEX_VERSION_MAJOR + (APEX_VERSION_MINOR/10.0); + tmp << APEX_VERSION_MAJOR << "." + << APEX_VERSION_MINOR << "." + << APEX_VERSION_PATCH; #endif #if defined (GIT_COMMIT_HASH) tmp << "-" << GIT_COMMIT_HASH ; diff --git a/src/scripts/make_release.txt b/src/scripts/make_release.txt index e69ab7e6..2e06e09b 100644 --- a/src/scripts/make_release.txt +++ b/src/scripts/make_release.txt @@ -1,3 +1,13 @@ +0) Update develop and master, merge develop into master + +update the version number in CMakeLists.txt, src/apex/CMakeLists.hpx and docs/Doxyfile.in + +git checkout develop +git pull +git checkout master +git pull +git merge develop + 1) Generate a changelog from the last tag: git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:'
  • view commit • %s
  • ' --reverse > changelog.txt