Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Mar 20, 2024
1 parent 4c65b57 commit 58304e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ jobs:
uses: actions/checkout@v4
- name: Verify version consistency
run: |
echo ===== CMakeLists.txt version =====
grep 'project(gz-cmake[0-9]* VERSION' CMakeLists.txt | sed -e 's@.*VERSION @@' -e 's@) *@@' > /tmp/cmake_version
cat /tmp/cmake_version
echo ===== package.xml version =====
grep '<version>' package.xml | sed -e 's@ *<version>@@' -e 's@</version>@@' > /tmp/package_xml_version
cat /tmp/package_xml_version
set -e
diff /tmp/cmake_version /tmp/package_xml_version

0 comments on commit 58304e2

Please sign in to comment.