Skip to content

Commit

Permalink
compare versions again
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Jan 4, 2025
1 parent 6f4db48 commit 7fa89ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/updateCmakeVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
uses: actions/checkout@v4
with:
path: master
ref: ${{ github.base_ref }}

- name: Check out current
uses: actions/checkout@v4
Expand All @@ -27,6 +26,5 @@ jobs:
run: |
masterVersion=$(grep -oP 'project\(\s*[\w-]+\s+VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' master/CMakeLists.txt)
branchVersion=$(grep -oP 'project\(\s*[\w-]+\s+VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' branch/CMakeLists.txt)
echo $masterVersion
echo $branchVersion
[ "$masterVersion" != "$branchVersion" ]

0 comments on commit 7fa89ad

Please sign in to comment.