diff --git a/.bump-version.sh b/.bump-version.sh new file mode 100755 index 0000000..c34e527 --- /dev/null +++ b/.bump-version.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash + +set -x + +if [ $# -ne 2 ] +then + echo "Usage: $0 [old-version] [new-version]" + exit 1 +fi + +OLD_VERSION=$1 +NEW_VERSION=$2 + +sed -i -e"s/project(mc_rtc_ros VERSION ${OLD_VERSION})/project(mc_rtc_ros VERSION ${NEW_VERSION})/" CMakeLists.txt +sed -i -e"s@${OLD_VERSION}@${NEW_VERSION}@" mc_rtc_ros/package.xml + +bump_version_project() +{ + PROJECT=$1 + sed -i -e"s/\(project(.* VERSION \)${OLD_VERSION}/\1${NEW_VERSION}/" $PROJECT/CMakeLists.txt + sed -i -e"s@${OLD_VERSION}@${NEW_VERSION}@" $PROJECT/package.xml +} + +bump_version_project mc_convex_visualization +bump_version_project mc_log_visualization +bump_version_project mc_rtc_ticker +bump_version_project mc_surfaces_visualization + +echo "All version changes done, update debian/changelog now" diff --git a/CMakeLists.txt b/CMakeLists.txt index 75ff7bb..a80c65f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.1) cmake_policy(SET CMP0048 NEW) -project(mc_rtc_ros VERSION 1.3.1) +project(mc_rtc_ros VERSION 1.3.2) enable_testing() diff --git a/debian/changelog b/debian/changelog index 5a0e34f..980593e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mc-rtc-ros (1.3.2-1debian1) unstable; urgency=medium + + * Update upstream + + -- Pierre Gergondet Fri, 13 Jan 2023 11:30:50 +0900 + mc-rtc-ros (1.3.1-1debian1) unstable; urgency=medium * Update upstream version diff --git a/mc_convex_visualization/CMakeLists.txt b/mc_convex_visualization/CMakeLists.txt index efce7ee..ae21b74 100644 --- a/mc_convex_visualization/CMakeLists.txt +++ b/mc_convex_visualization/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.1) set(CMAKE_CXX_STANDARD 17) set(PROJECT_NAME mc_convex_visualization) -project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.1) +project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.2) find_package(catkin REQUIRED COMPONENTS visualization_msgs @@ -15,7 +15,7 @@ find_package(catkin REQUIRED COMPONENTS catkin_package(CATKIN_DEPENDS roscpp) -find_package(mc_rtc 1.3.1 REQUIRED) +find_package(mc_rtc REQUIRED) include_directories( ${catkin_INCLUDE_DIRS} diff --git a/mc_convex_visualization/package.xml b/mc_convex_visualization/package.xml index 4ae1dd7..e3c1503 100644 --- a/mc_convex_visualization/package.xml +++ b/mc_convex_visualization/package.xml @@ -1,7 +1,7 @@ mc_convex_visualization - 1.3.1 + 1.3.2 Visualize hulls in RVIz Hervé Audren diff --git a/mc_log_visualization/CMakeLists.txt b/mc_log_visualization/CMakeLists.txt index ba5b282..5dbe152 100644 --- a/mc_log_visualization/CMakeLists.txt +++ b/mc_log_visualization/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.1) set(CMAKE_CXX_STANDARD 17) set(PROJECT_NAME mc_log_visualization) -project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.1) +project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.2) find_package(catkin REQUIRED COMPONENTS visualization_msgs @@ -15,7 +15,7 @@ find_package(catkin REQUIRED COMPONENTS catkin_package() -find_package(mc_rtc 1.3.1 REQUIRED) +find_package(mc_rtc REQUIRED) include_directories( ${catkin_INCLUDE_DIRS} diff --git a/mc_log_visualization/package.xml b/mc_log_visualization/package.xml index b3590a3..35f9e56 100644 --- a/mc_log_visualization/package.xml +++ b/mc_log_visualization/package.xml @@ -1,7 +1,7 @@ mc_log_visualization - 1.3.1 + 1.3.2 Visualize logs obtained from mc_rtc in RViz Pierre Gergondet diff --git a/mc_rtc_ros/package.xml b/mc_rtc_ros/package.xml index 1d01c5c..ab499bc 100644 --- a/mc_rtc_ros/package.xml +++ b/mc_rtc_ros/package.xml @@ -1,7 +1,7 @@ mc_rtc_ros - 1.3.1 + 1.3.2 ROS tools for mc_rtc Pierre Gergondet BSD diff --git a/mc_rtc_ticker/CMakeLists.txt b/mc_rtc_ticker/CMakeLists.txt index e56aa54..9b7ce33 100644 --- a/mc_rtc_ticker/CMakeLists.txt +++ b/mc_rtc_ticker/CMakeLists.txt @@ -5,12 +5,12 @@ cmake_minimum_required(VERSION 3.1) set(CMAKE_CXX_STANDARD 17) set(PROJECT_NAME mc_rtc_ticker) -project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.1) +project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.2) find_package(catkin REQUIRED) catkin_package() -find_package(mc_rtc 1.3.1 REQUIRED) +find_package(mc_rtc REQUIRED) include_directories(${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR}) diff --git a/mc_rtc_ticker/package.xml b/mc_rtc_ticker/package.xml index 002cdc0..84b6261 100644 --- a/mc_rtc_ticker/package.xml +++ b/mc_rtc_ticker/package.xml @@ -1,7 +1,7 @@ mc_rtc_ticker - 1.3.1 + 1.3.2 The mc_rtc_ticker package Pierre Gergondet diff --git a/mc_surfaces_visualization/CMakeLists.txt b/mc_surfaces_visualization/CMakeLists.txt index 2fd6c44..000b20b 100644 --- a/mc_surfaces_visualization/CMakeLists.txt +++ b/mc_surfaces_visualization/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.1) set(CMAKE_CXX_STANDARD 17) set(PROJECT_NAME mc_surfaces_visualization) -project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.1) +project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.3.2) find_package(catkin REQUIRED COMPONENTS visualization_msgs @@ -16,7 +16,7 @@ find_package(catkin REQUIRED COMPONENTS catkin_package() -find_package(mc_rtc 1.3.1 REQUIRED) +find_package(mc_rtc REQUIRED) include_directories( ${catkin_INCLUDE_DIRS} diff --git a/mc_surfaces_visualization/package.xml b/mc_surfaces_visualization/package.xml index 1582e52..32db6e8 100644 --- a/mc_surfaces_visualization/package.xml +++ b/mc_surfaces_visualization/package.xml @@ -1,7 +1,7 @@ mc_surfaces_visualization - 1.3.1 + 1.3.2 Visualize contact surfaces in RVIz Hervé Audren