CLI sub command tap sdk gitversion that can calculate a version number based on the git history and a .gitversion file.
More...
|
|
| GitVersionAction () |
| | Constructs new action with default values for arguments.
|
| |
| int | Execute (CancellationToken cancellationToken) |
| | Executes this action. More...
|
| |
|
|
string | PrintLog [getset] |
| | Represents the –gitlog command line argument which prints git log for the last n commits including version numbers for each commit.
|
| |
|
string | Sha [getset] |
| | Represents an unnamed command line argument which specifies for which git ref a version should be calculated.
|
| |
|
string | ReplaceFile [getset] |
| | Represents the –replace command line argument which causes this command to replace all occurrences of in the specified file. Cannot be used together with –gitlog.
|
| |
|
int | FieldCount [getset] |
| | Represents the –fields command line argument which specifies the number of version fields to print/replace.
|
| |
|
string | RepoPath [getset] |
| | Represents the –dir command line argument which specifies the directory in which the git repository to use is located.
|
| |
CLI sub command tap sdk gitversion that can calculate a version number based on the git history and a .gitversion file.
◆ Execute()
| int OpenTap.Package.GitVersionAction.Execute |
( |
CancellationToken |
cancellationToken | ) |
|
|
inline |