Releasing Packages - LCAS/rosdistro GitHub Wiki
Releasing to the L-CAS Build Farm (Recommended Way)
-
Prepare you repository (changelogs and tags): This step involves creating changelogs from
git logand then bumping the version and tagging the version (making a git release). More details in this simple guide. Usually this just involves the following steps:catkin_generate_changelogto generate Debian Changelogs (you may have to add--all, when no previous changelogs exist)- add all the changelogs to be committed, e.g.
find -name CHANGELOG.rst | xargs git add git commit -m "updated Changelogs"to commit the new logscatkin_prepare_releaseto bump the version number and tag the source with it (with--bump {major|minor|patch}to choose which version part to increase)
-
run bloom to create the debian files
- run
bloom-releaseas described here, but using our own L-CAS distro by seetingROSDISTRO_INDEX_URL=https://raw.github.com/lcas/rosdistro/master/index-v4.yaml. Usually you do something like this:ROSDISTRO_INDEX_URL=https://raw.github.com/lcas/rosdistro/master/index-v4.yaml bloom-release topological_navigation -t humble -r humblewithhumblereplaced by whatever ROS distribution you are releasing for andtopological_navigationreplaced with the name of your repository as configured in https://github.com/LCAS/rosdistro - at the end of this a PR will be created in https://github.com/LCAS/rosdistro which will be reviewed and once merged the packages will be build by our build farm.
- run
Release to the official ROS rosdistro
Disclaimer: Usually you don't do this, but the software management team will release version that are considered stable to the official repos
Same steps as above, but the bloom-release command needs another environment variable to be defined:
ROSDISTRO_INDEX_URL=https://raw.github.com/ros/rosdistro/master/index.yaml bloom-release topological_navigation -r humble -t humble