Expand description
Output formatters: JSON, dotenv, single variable, format string, AssemblyInfo.
Corresponds to GitVersion.Output/OutputGenerator in the original.
Functions§
- format_
template - Substitute
{Variable}tokens in a format string.{env:VAR}is also supported. - show_
variable - Output a single variable value. Returns an error if the variable does not exist.
- to_
buildserver_ env - Environment-variable export lines for build servers (GitHub Actions and similar).
- to_
dotenv - dotenv output:
GitVersion_Major='1'format. - to_json
- JSON output (PascalCase keys matching the original, pretty-printed).