diff options
author | Martin Nordholts <enselic@gmail.com> | 2021-01-09 21:08:31 +0100 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2021-01-10 10:56:15 +0100 |
commit | 8832ff3c6a0eafae6eded3389c83739b0719a355 (patch) | |
tree | 7f9710334544a8fe06e41dd71f2ae067fb9e199b /.github | |
parent | 505ff10dc629b65d81630180d59960c369c39539 (diff) |
CICD: Build: Adapt release version regex to bat
All bat tags begin with a small 'v', so no need for a generic pattern in
the CI script. This will also help us ensure we keep the same format on
future tags.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CICD.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 11d62fc1..b2753d0d 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -124,7 +124,7 @@ jobs: echo ::set-output name=PKG_BASENAME::${PKG_BASENAME} echo ::set-output name=PKG_NAME::${PKG_NAME} # deployable tag? (ie, leading "vM" or "M"; M == version number) - unset DEPLOY ; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY='true' ; fi + unset DEPLOY ; if [[ $REF_TAG =~ ^v[0-9].* ]]; then DEPLOY='true' ; fi echo ::set-output name=DEPLOY::${DEPLOY} # DPKG architecture? unset DPKG_ARCH |