프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HandleRepositoryInfoError | bool |
메소드 | 설명 | |
---|---|---|
BuildAssemblyVersionAttributesFile ( string toolName = "SimpleGitVersion.Core", string assemblyInformationalVersionInfo = null ) : string |
Builds a standard assembly version attributes file.
|
|
FomatStandardAssemblyInformationalVersionInfo ( string nuGetVersion, string commitSha, string userName ) : string |
Fomats the standard assembly informational version information: "NuGetVersion Sha:... User:..."
|
|
FormatAssemblyVersionAttributesFile ( string majorMinor, string fileVersion, string semVer, string toolName, string assemblyInformationalVersionInfo ) : string |
Formats the assembly version attributes file.
|
|
LoadFromPath ( ILogger logger, string path, Action |
Creates a new SimpleRepositoryInfo based on a path (that can be below the folder with the '.git' sub folder).
|
|
LogValidVersions ( ILogger logger, |
||
SetInvalidValues ( string reason ) : void | ||
SetInvalidValuesAndLog ( ILogger logger, string reason, bool isWarning ) : void | ||
SetNumericalVersionValues ( |
||
SimpleRepositoryInfo ( ILogger logger, |
Initializes a new SimpleRepositoryInfo based on a (more complex) Info.
|
메소드 | 설명 | |
---|---|---|
HandleRepositoryInfoError ( ILogger logger, |
public BuildAssemblyVersionAttributesFile ( string toolName = "SimpleGitVersion.Core", string assemblyInformationalVersionInfo = null ) : string | ||
toolName | string | Name of the tool. |
assemblyInformationalVersionInfo | string |
/// The assembly informational version information.
/// Defaults to |
리턴 | string |
public static FomatStandardAssemblyInformationalVersionInfo ( string nuGetVersion, string commitSha, string userName ) : string | ||
nuGetVersion | string | The NuGet version. |
commitSha | string | The commit sha. |
userName | string | Name of the user. |
리턴 | string |
public static FormatAssemblyVersionAttributesFile ( string majorMinor, string fileVersion, string semVer, string toolName, string assemblyInformationalVersionInfo ) : string | ||
majorMinor | string | The major.minor: this is used for the AssemblVersion. |
fileVersion | string | The file version (4 numbers between 0 and 65535. |
semVer | string | The semantic version version. |
toolName | string | Name of the tool. |
assemblyInformationalVersionInfo | string | The assembly informational version information. |
리턴 | string |
public static LoadFromPath ( ILogger logger, string path, Action |
||
logger | ILogger | Logger that will be used. |
path | string | The path to lookup. |
optionsChecker | Action |
/// Optional action that accepts the logger, a boolean that is true if a RepositoryInfo.xml has been
/// found, and the |
리턴 |
public LogValidVersions ( ILogger logger, |
||
logger | ILogger | |
info | ||
리턴 | void |
public SetInvalidValuesAndLog ( ILogger logger, string reason, bool isWarning ) : void | ||
logger | ILogger | |
reason | string | |
isWarning | bool | |
리턴 | void |
public SetNumericalVersionValues ( |
||
t | ||
isCIBuild | bool | |
리턴 | void |
public SimpleRepositoryInfo ( ILogger logger, |
||
logger | ILogger | Logger that will be used. |
info | The simplified repository information. | |
리턴 | System |