mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-03 20:48:49 -04:00
CI: Correct deploy regex to catch fake releases vs real ones
This commit is contained in:
parent
fba5858c45
commit
5ee160f84f
2
.github/workflows/buildAndDeploy.yml
vendored
2
.github/workflows/buildAndDeploy.yml
vendored
@ -302,7 +302,7 @@ jobs:
|
|||||||
- name: Check if this is a real release or a test version, for Github release
|
- name: Check if this is a real release or a test version, for Github release
|
||||||
id: check-version-tag
|
id: check-version-tag
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ github.ref_name }} =~ [0-9]\.[0-9]+\.[0-9]+ ]]; then
|
if [[ ${{ github.ref_name }} =~ [0-9]\.[0-9]+\.[0-9]+(-patch[0-9]+)?$ ]]; then
|
||||||
echo "real_release=true" >> $GITHUB_OUTPUT
|
echo "real_release=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user