Ignore pkgs during initial bloom-release: master vs main branch
As part of the release process for a new package, bloom-release
will git clone
the release repository and start adding branches and commits.
bloom-release
seems to assume master
is the default/main branch, and will create one if it doesn't exist.
For release repositories created on Github, and unless users have configured otherwise, new repositories will have their default branch set to main
now instead of master
.
This works OK for regular releases (as master
will just be another branch to git
and Github, and Bloom is able to find everything it needs just fine), but in case packages need to be ignored / excluded from an initial release, a ${ROS_DISTRO}.ignored
file should be added to the master
branch, or Bloom will not find it (it creates a master
branch and ignores main
completely, including the .ignored
file in it).
I've not been able to find a command line arg which lets me specify the branch Bloom should use for this.
Is there a way to do this, or should I be approaching this in a different way?