Test argument.

This commit is contained in:
James Cole
2025-11-01 17:57:07 +01:00
parent feb6ecb01c
commit 4f1ea96308

View File

@@ -36,6 +36,14 @@ jobs:
extensions: mbstring, intl, zip, bcmath
- name: Switch and pull
run: |
# validate argument
if [[ $version != d* ]] && [[ $version != v* ]] ;
then
echo 'Argument does not start with a d or with a v'
exit 1
fi
#
# Always check out origin/develop, unless its a branch release.
#