Skip to content

Commit

Permalink
Introduce versioning; Minor readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jabou committed Dec 16, 2024
1 parent 81c72d4 commit 288425f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set -e
bold=$(tput bold)
normal=$(tput sgr0)

VERSION="1.1.1"

#################################
# MAIN #
#################################
Expand Down Expand Up @@ -302,8 +304,10 @@ echo "# Copyright (c) 2020 Infinum. #"
echo "###############################################################"
echo

if ! [ "$1" == '--update' ] ; then
main
else
if [ "$1" == '--update' ] ; then
script_auto_update
fi
elif [ "$1" == '-v' ] || [ "$1" == '--version' ] ; then
echo "$VERSION"
else
main
fi

0 comments on commit 288425f

Please sign in to comment.