Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Apr 11, 2024
1 parent 2641784 commit 100f21e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/package_xml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ on:
jobs:
package-xml:
runs-on: ubuntu-latest
name: package.xml and CMake versions match
name: Validate package.xml
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check versions
run: |
echo "Extract version numbers and compare"
package_xml_version=$(sed -nE 's/\s*<version>([0-9.]*)<\/version>\s*/\1/p' package.xml)
echo "Version in package.xml: ${package_xml_version}"
cmake_version=$(sed -nE 's/^project.*VERSION\s*([0-9.]*).*/\1/p' CMakeLists.txt)
echo "Version in CMake: ${cmake_version}"
[ $package_xml_version = $cmake_version ]
- uses: gazebo-tooling/action-gz-ci/validate_package_xml@jammy
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<name>gz-launch7</name>
<version>7.0.0</version>
<version>7.1.0</version>
<description>Gazebo Launch : Run and manage programs and plugins</description>
<maintainer email="[email protected]">Nate Koenig</maintainer>
<license>Apache License 2.0</license>
Expand Down

0 comments on commit 100f21e

Please sign in to comment.