Exemple #1
0
        public static string RenderArtifact(
            this ICakeContext context,
            DirectoryPath directory,
            OutputWhitelist outputWhitelist,
            bool isArtifactContainer)
        {
            var tools = new ReleaseTools(context);

            return(tools.RenderArtifact(directory, outputWhitelist, isArtifactContainer));
        }
Exemple #2
0
        public static string RenderArtifact(
            this ICakeContext context,
            DirectoryPath directory,
            FilePath outputWhitelistPath,
            bool isArtifactContainer)
        {
            var tools = new ReleaseTools(context);

            return(tools.RenderArtifactAsync(directory, outputWhitelistPath, isArtifactContainer).GetAwaiter().GetResult());
        }
Exemple #3
0
        public static void CopyArtifact(
            ICakeContext context,
            DirectoryPath directory,
            FilePath whitelistPath,
            DirectoryPath outputPath)
        {
            var tools = new ReleaseTools(context);

            tools.CopyArtifactAsync(directory, whitelistPath, outputPath).GetAwaiter().GetResult();
        }
Exemple #4
0
        public static string RenderReport(
            this ICakeContext context,
            ReleaseNotesSettings settings,
            string[] tags,
            string query,
            FilePath template)
        {
            var tools = new ReleaseTools(context);

            return(tools.RenderReportAsync(settings, tags, query, template).GetAwaiter().GetResult());
        }
Exemple #5
0
        public static void RenderNotes(
            this ICakeContext context,
            FilePath outputPath,
            string product,
            string notes,
            string renderedReport,
            string renderedArtifact,
            bool force)
        {
            var tools = new ReleaseTools(context);

            tools.RenderNotesAsync(outputPath, product, renderedReport, renderedArtifact, force, notes)
            .GetAwaiter()
            .GetResult();
        }