Skip to content

Commit 7fa89ad

Browse files
committed
compare versions again
1 parent 6f4db48 commit 7fa89ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/updateCmakeVersion.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
path: master
19-
ref: ${{ github.base_ref }}
2019

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

0 commit comments

Comments
 (0)