Motivation:
When doing a major release, the gz deps in the MODULE.bazel need to be updated to point to the new release branches created in each gz repo, e.g. in gazebosim/gz-sensors#551. This needs to be done in all gz repos. It'll help to have a script to automate this.
One option is to do this by looking at the the collection-*.yaml file to get all expected gz dep versions.
Example usage:
# ./update_bzl_module_deps.bash <release_version> [optional_path_to_module_file]
./update_bzl_module_deps.bash jetty