Summary
Specifies the format in which GitVersion outputs version variables.
- Namespace
- GitVersion
- Interfaces
-
- IComparable
- ISpanFormattable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT Type-->Base0["Enum"]
Base0-->Base1["ValueType"] Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["ISpanFormattable"]
Type-.->Interface2["IFormattable"]
Type-.->Interface3["IConvertible"] Type["OutputType"]
class Type type-node
Syntax
public enum OutputType
Fields
| Name | Constant Value | Summary |
|---|---|---|
| BuildServer | 0 |
Writes version variables to the CI build server's
environment (e.g. TeamCity build parameters, GitHub
Actions outputs).
static
|
| DotEnv | 3 |
Writes version variables in the
KEY=value dotenv format.
static
|
| File | 2 |
Writes version variables to a file on disk.
static
|
| Json | 1 |
Writes version variables as a JSON object to standard
output.
static
|