Closed disaac closed 6 years ago
example
/workspace # sops --version
sops 3.0.5
[info] sops 3.1.1 is available, update with `go get -u go.mozilla.org/sops/cmd/sops`
SOPS_VERSION=3.0.5
This will prevent covalence from attempting to obtain this version from the command output avoiding the issue and preventing the error.
Currently when executing the sops task the version is checked to ensure it adheres to the proper semantics. When an update is available for sops the binary will return the following output as an example:
The above output results in an error when this occurs like this:
To address this the handling of the
SOPS_VERSION
parsing needs to be adjusted.