[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🎉 New feature
Follow-up to https://github.com/gazebosim/gz-math/pull/639, part of https://github.com/gazebosim/sdformat/pull/1491
Summary
This adds a python script and a cmake helper function for getting the version number from a package.xml file.
Test it
Test using the
version_from_package_xml
example.cd examples/version_from_package_xml
mkdir build && cd build
cmake ..
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.