This script exists to compute the 'monoversion' of the repo. The monoversion is designed to represent in a somewhat human readable format what commit was released and roughly what repository state that represents.
This script is intended for use under Bazel as a --workspace_status_command
,
so that we can build artifacts out of Bazel which include a somewhat meaningful
version numbers.