Skip to content

Commit 288425f

Browse files
committed
Introduce versioning; Minor readme updates
1 parent 81c72d4 commit 288425f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app-deploy.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ set -e
2020
bold=$(tput bold)
2121
normal=$(tput sgr0)
2222

23+
VERSION="1.1.1"
24+
2325
#################################
2426
# MAIN #
2527
#################################
@@ -302,8 +304,10 @@ echo "# Copyright (c) 2020 Infinum. #"
302304
echo "###############################################################"
303305
echo
304306

305-
if ! [ "$1" == '--update' ] ; then
306-
main
307-
else
307+
if [ "$1" == '--update' ] ; then
308308
script_auto_update
309-
fi
309+
elif [ "$1" == '-v' ] || [ "$1" == '--version' ] ; then
310+
echo "$VERSION"
311+
else
312+
main
313+
fi

0 commit comments

Comments
 (0)