-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove strict dependency on mc_rtc 1.x
- Loading branch information
Showing
12 changed files
with
49 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters