Closed hartzell closed 1 year ago
HI @tronxd and @gruebel -- Anything I can do to help keep this moving? Thanks!
@tronxd and @gruebel -- Anything I can do to help keep this moving?
Thanks!
@hartzell sorry for the late response.. merged
NP, thanks for the support!
This commit adds a "check" mode to the tag command, which causes yor to exit with a non-zero status (by calling log.Error()) if any changes were (or would have been, if in dry mode) made.
This is useful in CI pipelines, where one wants to confirm that everything is tagged appropriately. Check mode is simpler to use in CI than parsing the CLI output.
The check for changes is made after the report is printed, as knowing what was/would-have-been changed is useful in debugging CI failures.
This commit:
Quibbles:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.