Summary
Updates the build version.
- Namespace
- Cake
.Common .Build .AppVeyor - Containing Type
- AppVeyorProvider
Syntax
public void UpdateBuildVersion(string version)
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
BuildSystem.AppVeyor.UpdateBuildVersion("2.0.0.0");
}
else
{
Information("Not running on AppVeyor");
}
Parameters
| Name | Type | Description |
|---|---|---|
| version | string | The new build version. |
Return Value
| Type | Description |
|---|---|
| void |
