CLI command
weles release enforce-version
Judge AutoVersion's decision, the released baseline, the repository's version declaration and the package manifest against each other, and refuse every disagreement.
Purpose#
Judge AutoVersion's decision, the released baseline, the repository's version declaration and the package manifest against each other, and refuse every disagreement.
Invocation#
weles release enforce-version --decision <file> --baseline <file> --declaration <file> --manifest <file> [--json]Options#
| Option | Effect |
|---|---|
--decision | weles --help names this option in the usage line and gives it no description. |
--baseline | weles --help names this option in the usage line and gives it no description. |
--declaration | weles --help names this option in the usage line and gives it no description. |
--manifest | weles --help names this option in the usage line and gives it no description. |
--json | Print the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries. |
Help#
`weles release enforce-version --help` prints these usage lines and never runs the command.