示例#1
0
        public void Execute(string targetNumber, ISettings settings)
        {
            targetNumber = VariablesEngine.Expand(targetNumber, settings);
            Write("build number is ");
            WriteLine(targetNumber, T.HeadingTextColor);

            AzurePipelines.UpdateBuildNumber(targetNumber);
            ProcessUtils.ExecAndGetOutput("appveyor", $"UpdateBuild -Version {targetNumber}");
        }
示例#2
0
 private static string GetGitBranchName()
 {
     return(ProcessUtils.ExecAndGetOutput("git", "branch -q").Trim(' ', '*'));
 }