We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4db48 commit 7fa89adCopy full SHA for 7fa89ad
.github/workflows/updateCmakeVersion.yml
@@ -16,7 +16,6 @@ jobs:
16
uses: actions/checkout@v4
17
with:
18
path: master
19
- ref: ${{ github.base_ref }}
20
21
- name: Check out current
22
@@ -27,6 +26,5 @@ jobs:
27
26
run: |
28
masterVersion=$(grep -oP 'project\(\s*[\w-]+\s+VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' master/CMakeLists.txt)
29
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
+ [ "$masterVersion" != "$branchVersion" ]
32
0 commit comments