Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
srillia committed Jan 6, 2021
1 parent 75052cc commit e210d86
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
source ${dic[cfg_devops_bin_path]}/log.sh
devops_version=1.7.1

function check_env_by_cmd_v() {
command -v $1 >/dev/null 2>&1 || (error "Need to install ##$1## command first and run this script again." && exit 1)
Expand All @@ -8,17 +9,21 @@ function check_env_by_cmd_v() {
function parse_params() {
case "$1" in
-v)
echo "devops version 1.6.5"
echo "devops version ${devops_version}"
exit 1
;;
--version)
echo "devops version 1.6.5"
echo "devops version ${devops_version}"
exit 1
;;
-h)
devops_help
exit 1
;;
--help)
devops_help
exit 1
;;
*)
dic[cmd_1]=$1
shift 1
Expand Down

0 comments on commit e210d86

Please sign in to comment.