public override string[] GenerateSetParameterMessage(string name, string value) { return(new[] { $"##teamcity[setParameter name='GitVersion.{name}' value='{ServiceMessageEscapeHelper.EscapeValue(value)}']", $"##teamcity[setParameter name='system.GitVersion.{name}' value='{ServiceMessageEscapeHelper.EscapeValue(value)}']" }); }
public override string[] GenerateSetParameterMessage(string name, string value) { var messages = new List <string> { $"##myget[setParameter name='GitVersion.{name}' value='{ServiceMessageEscapeHelper.EscapeValue(value)}']" }; if (string.Equals(name, "LegacySemVerPadded", StringComparison.InvariantCultureIgnoreCase)) { messages.Add($"##myget[buildNumber '{ServiceMessageEscapeHelper.EscapeValue(value)}']"); } return(messages.ToArray()); }
public override string GenerateSetVersionMessage(VersionVariables variables) { return($"##teamcity[buildNumber '{ServiceMessageEscapeHelper.EscapeValue(variables.FullSemVer)}']"); }