File tree 2 files changed +7
-1
lines changed
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
25
25
# Use global variables at your own risk as this can be overridden in the future.
26
26
set -e
27
27
28
+ VERSION=" 2.0.0"
29
+
28
30
# ################################
29
31
# START EVERYTHING #
30
32
# ################################
31
33
32
- if [ " $1 " == ' --help' ] ; then
34
+ if [ " $1 " == ' -h ' ] || [ " $1 " == ' - -help' ] ; then
33
35
__help
36
+ elif [ " $1 " == ' -v' ] || [ " $1 " == ' --version' ] ; then
37
+ echo " app-deploy $VERSION "
34
38
elif [ " $1 " == ' --update' ] ; then
35
39
__clear_console
36
40
__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
13
13
- Generate a final build tag after CI/CD deployment.
14
14
15
15
Parameters:
16
+ -v, --version Check installed script version
17
+ -h, --help Show this help and exit
16
18
--update Update the script to the latest version.
17
19
init Initialize the deploy-options file for the project.
18
20
trigger Generate a trigger tag for starting the CI/CD flow.
You can’t perform that action at this time.
0 commit comments