We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c72d4 commit 288425fCopy full SHA for 288425f
app-deploy.sh
@@ -20,6 +20,8 @@ set -e
20
bold=$(tput bold)
21
normal=$(tput sgr0)
22
23
+VERSION="1.1.1"
24
+
25
#################################
26
# MAIN #
27
@@ -302,8 +304,10 @@ echo "# Copyright (c) 2020 Infinum. #"
302
304
echo "###############################################################"
303
305
echo
306
-if ! [ "$1" == '--update' ] ; then
- main
307
-else
+if [ "$1" == '--update' ] ; then
308
script_auto_update
309
-fi
+elif [ "$1" == '-v' ] || [ "$1" == '--version' ] ; then
310
+ echo "$VERSION"
311
+else
312
+ main
313
+fi
0 commit comments