-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(badgetizr): Fix version + help + parameter
- Loading branch information
Showing
5 changed files
with
47 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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.4.0 |