Skip to content

Commit

Permalink
Release v1.3.2
Browse files Browse the repository at this point in the history
Remove strict dependency on mc_rtc 1.x
  • Loading branch information
gergondet committed Jan 13, 2023
1 parent b7c17c0 commit d636756
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 14 deletions.
29 changes: 29 additions & 0 deletions .bump-version.sh
Original file line number Diff line number Diff line change
@@ -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@<version>${OLD_VERSION}</version>@<version>${NEW_VERSION}</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@<version>${OLD_VERSION}</version>@<version>${NEW_VERSION}</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"
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
mc-rtc-ros (1.3.2-1debian1) unstable; urgency=medium

* Update upstream

-- Pierre Gergondet <pierre.gergondet+ppa@gmail.com> Fri, 13 Jan 2023 11:30:50 +0900

mc-rtc-ros (1.3.1-1debian1) unstable; urgency=medium

* Update upstream version
Expand Down
4 changes: 2 additions & 2 deletions mc_convex_visualization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion mc_convex_visualization/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<name>mc_convex_visualization</name>
<version>1.3.1</version>
<version>1.3.2</version>
<description>Visualize hulls in RVIz</description>

<author email="h.audren@gmail.com">Hervé Audren</author>
Expand Down
4 changes: 2 additions & 2 deletions mc_log_visualization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion mc_log_visualization/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<name>mc_log_visualization</name>
<version>1.3.1</version>
<version>1.3.2</version>
<description>Visualize logs obtained from mc_rtc in RViz</description>

<maintainer email="pierre.gergondet@gmail.com">Pierre Gergondet</maintainer>
Expand Down
2 changes: 1 addition & 1 deletion mc_rtc_ros/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<name>mc_rtc_ros</name>
<version>1.3.1</version>
<version>1.3.2</version>
<description>ROS tools for mc_rtc</description>
<maintainer email="pierre.gergondet@gmail.com">Pierre Gergondet</maintainer>
<license>BSD</license>
Expand Down
4 changes: 2 additions & 2 deletions mc_rtc_ticker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down
2 changes: 1 addition & 1 deletion mc_rtc_ticker/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<name>mc_rtc_ticker</name>
<version>1.3.1</version>
<version>1.3.2</version>
<description>The mc_rtc_ticker package</description>

<maintainer email="pierre.gergondet@gmail.com">Pierre Gergondet</maintainer>
Expand Down
4 changes: 2 additions & 2 deletions mc_surfaces_visualization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion mc_surfaces_visualization/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<name>mc_surfaces_visualization</name>
<version>1.3.1</version>
<version>1.3.2</version>
<description>Visualize contact surfaces in RVIz</description>

<author email="h.audren@gmail.com">Hervé Audren</author>
Expand Down

0 comments on commit d636756

Please sign in to comment.