From 9e30f18040b85c980c6ce527746e61875d61c519 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 21 Dec 2021 12:44:13 -0300 Subject: [PATCH 1/3] - Change Readme --- CHANGELOG.md | 3 +++ README.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8abc09a..e1bd30a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.0.13] / 2021-12-21 +- Change Readme + ## [0.0.12] / 2021-12-21 - Add Documentation on the main project - Add `xml` DocumentationFile diff --git a/README.md b/README.md index 1ac7c14..05ea086 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ using ricaun.Nuke.Components; [CheckBuildProjectConfigurations] class Build : NukeBuild, IPublishPack { - string IHazContent.Folder => "Release"; - string IHazRelease.Folder => "ReleasePack"; + // string IHazContent.Folder => "Release"; + // string IHazRelease.Folder => "ReleaseFiles"; public static int Main() => Execute(x => x.From().Build); } ``` From 36385b1559a11cbb3597b98e3c098c59980b5b9c Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 21 Dec 2021 14:25:39 -0300 Subject: [PATCH 2/3] ## [0.0.13] / 2021-12-21 - Add `IHazExample.ReleaseExample` - Change Readme --- CHANGELOG.md | 1 + ricaun.Nuke/Components/ICompileExample.cs | 7 +++++-- ricaun.Nuke/Components/IHazExample.cs | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1bd30a..478f43e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [0.0.13] / 2021-12-21 +- Add `IHazExample.ReleaseExample` - Change Readme ## [0.0.12] / 2021-12-21 diff --git a/ricaun.Nuke/Components/ICompileExample.cs b/ricaun.Nuke/Components/ICompileExample.cs index 2eeaffd..07fd302 100644 --- a/ricaun.Nuke/Components/ICompileExample.cs +++ b/ricaun.Nuke/Components/ICompileExample.cs @@ -21,8 +21,11 @@ public interface ICompileExample : IHazExample, ICompile, ISign, IRelease, IHazC SignProject(project); var folder = ExampleDirectory; var fileName = project.Name; - var zipFile = ReleaseDirectory / $"{fileName}.zip"; - ZipExtension.CreateFromDirectory(folder, zipFile); + if (ReleaseExample) + { + var zipFile = ReleaseDirectory / $"{fileName}.zip"; + ZipExtension.CreateFromDirectory(folder, zipFile); + } }); }); } diff --git a/ricaun.Nuke/Components/IHazExample.cs b/ricaun.Nuke/Components/IHazExample.cs index c212968..4e5ab34 100644 --- a/ricaun.Nuke/Components/IHazExample.cs +++ b/ricaun.Nuke/Components/IHazExample.cs @@ -23,6 +23,12 @@ public interface IHazExample : IHazSolution, INukeBuild [Parameter] string Name => ValueInjectionUtility.TryGetValue(() => Name) ?? $"{Solution.Name}.Example"; + /// + /// ReleaseExample (default: true) + /// + [Parameter] + bool ReleaseExample => ValueInjectionUtility.TryGetValue(() => ReleaseExample) ?? true; + /// /// ExampleDirectory /// From 5ee4fc5f3ddbbbc95dbe4dad416b581ebff0d77b Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 21 Dec 2021 14:27:47 -0300 Subject: [PATCH 3/3] Update to 0.0.13 --- ricaun.Nuke/ricaun.Nuke.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ricaun.Nuke/ricaun.Nuke.csproj b/ricaun.Nuke/ricaun.Nuke.csproj index bffae00..7d844da 100644 --- a/ricaun.Nuke/ricaun.Nuke.csproj +++ b/ricaun.Nuke/ricaun.Nuke.csproj @@ -7,7 +7,7 @@ ricaun.Nuke - 0.0.12 + 0.0.13