-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathutils.sh
executable file
·30 lines (21 loc) · 904 Bytes
/
utils.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
show_help() {
cat <<EOF
Usage: $0 [options]
Options :
-c <file>,
--configuration=<file>,
--configuration <file> (Optional) Specify the path to the configuration. Default is .badgetizr.yml
--pr-id=<id>,
--pr-id <id> (Mandatory) Specify the pull request id.
--pr-destination-branch=<branch>,
--pr-destination-branch <branch> (Mandatory when branch badge is enabled) Specify the pull request destination branch.
--pr-build-number=<number>,
--pr-build-number <number> (Mandatory when CI badge is enabled) Specify the pull request build number.
--pr-build-url=<url>,
--pr-build-url <url> (Mandatory when CI badge is enabled) Specify the pull request build url.
--version, -v Display the version of Badgetizr.
-h, --help Display this help.
EOF
}
BADGETIZR_VERSION="1.5.4"