File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,16 @@ source /usr/local/bin/.app-deploy-sources/__build_tagging.sh
2525# Use global variables at your own risk as this can be overridden in the future.
2626set -e
2727
28+ VERSION=" 2.0.0"
29+
2830# ################################
2931# START EVERYTHING #
3032# ################################
3133
32- if [ " $1 " == ' --help' ] ; then
34+ if [ " $1 " == ' -h ' ] || [ " $1 " == ' - -help' ] ; then
3335 __help
36+ elif [ " $1 " == ' -v' ] || [ " $1 " == ' --version' ] ; then
37+ echo " app-deploy $VERSION "
3438elif [ " $1 " == ' --update' ] ; then
3539 __clear_console
3640 __script_auto_update
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ A group of scripts and tools designed to assist in the deployment process. This
1313 - Generate a final build tag after CI/CD deployment.
1414
1515Parameters:
16+ -v, --version Check installed script version
17+ -h, --help Show this help and exit
1618 --update Update the script to the latest version.
1719 init Initialize the deploy-options file for the project.
1820 trigger Generate a trigger tag for starting the CI/CD flow.
You can’t perform that action at this time.
0 commit comments