mirror of https://github.com/hashicorp/consul
update help and usage. exclude current submodule in output.
parent
7a0d3ca36d
commit
2ae8013091
|
@ -678,7 +678,8 @@ function get_consul_module_versions {
|
|||
-e github.com/hashicorp/consul/envoyextensions \
|
||||
-e github.com/hashicorp/consul/proto-public \
|
||||
-e github.com/hashicorp/consul/sdk \
|
||||
-e github.com/hashicorp/consul/troubleshoot)
|
||||
-e github.com/hashicorp/consul/troubleshoot \
|
||||
| if [ "$module_dir" != "." ]; then grep -v "consul/$module_dir"; else cat; fi)
|
||||
echo "--------------"
|
||||
echo ""
|
||||
done
|
||||
|
|
|
@ -16,17 +16,9 @@ Usage: ${SCRIPT_NAME} [<options ...>]
|
|||
|
||||
Description:
|
||||
|
||||
This script is just a convenience around discover what the Consul
|
||||
version would be if you were to build it.
|
||||
This script reports the consul module versions in each of the go.mod files in the Consul repository.
|
||||
|
||||
Options:
|
||||
-s | --source DIR Path to source to build.
|
||||
Defaults to "${SOURCE_DIR}"
|
||||
|
||||
-r | --release Include the release in the version
|
||||
|
||||
-g | --git Take git variables into account
|
||||
|
||||
-h | --help Print this help text.
|
||||
EOF
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue