Esempio n. 1
0
        public static void Update(UpdateVersionArgs args)
        {
            var versionSpec = new VersionSpec(args.GitAddress, args.branch, args.Token, args.packageName, args.packageType, args.DependantRelease, args.username, args.email, args.Build);

            try
            {
                var version = versionSpec.SetVersion((s) => { });
                System.Console.WriteLine(version);
            }
            catch (Exception ex)
            {
                Colorful.Console.WriteLine($"Error en la ejecución {ex.Message}", Color.Red);
            }
        }