Skip to content

Commit d4908e6

Browse files
committed
BNCASB-2204: Fix the indentation
1 parent 0016da2 commit d4908e6

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

update.sh

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
function log()
46
{
57
echo "$(date): $1"
@@ -70,19 +72,19 @@ function publish()
7072

7173
# Parse and handle command line options
7274
while getopts ":u:p:" OPTION; do
73-
case $OPTION in
74-
u)
75-
VERSION_PARAM=$OPTARG
76-
update
77-
;;
78-
p)
79-
TAG_PARAM=$OPTARG
80-
publish
81-
;;
82-
*)
83-
usage
84-
;;
85-
esac
75+
case $OPTION in
76+
u)
77+
VERSION_PARAM=$OPTARG
78+
update
79+
;;
80+
p)
81+
TAG_PARAM=$OPTARG
82+
publish
83+
;;
84+
*)
85+
usage
86+
;;
87+
esac
8688
done
8789

8890
# if no args specified

0 commit comments

Comments
 (0)