on master help sign in
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.

commit8832ff3c6a0eafae6eded3389c83739b0719a355 authorMartin Nordholts <enselic@gmail.com> dateSat 9 Jan 2021, 21:08 (6 years ago) parent505ff10
1 file changed+1−1
.github/workflows/CICD.yml+1−1
.github/workflows/CICD.yml+1−1
@@ -124,7 +124,7 @@ jobs:
124124 echo ::set-output name=PKG_BASENAME::${PKG_BASENAME}
125125 echo ::set-output name=PKG_NAME::${PKG_NAME}
126126 # deployable tag? (ie, leading "vM" or "M"; M == version number)
127− unset DEPLOY ; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY='true' ; fi
127+ unset DEPLOY ; if [[ $REF_TAG =~ ^v[0-9].* ]]; then DEPLOY='true' ; fi
128128 echo ::set-output name=DEPLOY::${DEPLOY}
129129 # DPKG architecture?
130130 unset DPKG_ARCH