Skip to content

Firefly III: a personal finances manager

Test argument.

James Cole4f1ea96308d6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b6f66bd7d4..dd3331be5f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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.
#