AppVeyorRepositoryInfo.

Tag Property

Summary

Gets the tag information for the build.

Syntax

public AppVeyorTagInfo Tag { get; }

Examples

if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
    Information(
        @"Repository:
        IsTag: {0}
        Name: {1}",
        BuildSystem.AppVeyor.Environment.Repository.Tag.IsTag,
        BuildSystem.AppVeyor.Environment.Repository.Tag.Name
        );
}
else
{
    Information("Not running on AppVeyor");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
    Information(
        @"Repository:
        IsTag: {0}
        Name: {1}",
        AppVeyor.Environment.Repository.Tag.IsTag,
        AppVeyor.Environment.Repository.Tag.Name
        );
}
else
{
    Information("Not running on AppVeyor");
}

Value

Type Description
AppVeyorTagInfo The tag information for the build.