diff --git a/Build/Build.csproj b/Build/Build.csproj index 16ed451..736a54d 100644 --- a/Build/Build.csproj +++ b/Build/Build.csproj @@ -19,6 +19,4 @@ - - diff --git a/Build/IAzureSignTool.cs b/Build/IAzureSignTool.cs index 08fb8c8..5ddaa70 100644 --- a/Build/IAzureSignTool.cs +++ b/Build/IAzureSignTool.cs @@ -1,7 +1,5 @@ using Nuke.Common; using Nuke.Common.Tools.AzureSignTool; -using Nuke.Common.Tools.GitVersion; -using Nuke.Common.Tools.NuGet; using ricaun.Nuke.Components; using ricaun.Nuke.Tools.NuGetKeyVaultSignTool; @@ -10,22 +8,11 @@ public interface IAzureSignTool : IClean, ICompile Target AzureSignTool => _ => _ .TriggeredBy(Clean) .Before(Compile) - //.Requires() - //.Requires() - //.Requires() - //.Requires() .Executes(() => { ricaun.Nuke.Tools.AzureSignToolUtils.EnsureAzureToolIsInstalled(); Serilog.Log.Information(AzureSignToolTasks.AzureSignToolPath); Serilog.Log.Information(NuGetKeyVaultSignToolTasks.NuGetKeyVaultSignToolPath); - - //Serilog.Log.Information("DownloadAzureSignTool"); - //ricaun.Nuke.Tools.AzureSignToolUtils.DownloadNuGetKeyVaultSignTool(); - //Serilog.Log.Information("DownloadNuGetKeyVaultSignTool"); - - //ricaun.Nuke.Tools.AzureSignToolUtils.EnsureAzureToolIsInstalled(); - //Serilog.Log.Information("EnsureAzureToolIsInstalled"); }); } diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c7b768..79305f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,17 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Enable sign files using `Azure Key Vault`. ### Build - Add `IAzureSignTool` to check if `AzureSignToolUtils` is installed. -- [ ] Update `IAzureSignTool` with `Requires`. -- [ ] Add import `build` with `.targets` ### Updates - Add version `Information` in the `CommonExtension`. - Add `AzureSignToolUtils` to sign files using `AzureSignToolTasks` or `NuGetKeyVaultSignToolTasks`. - Add `NuGetKeyVaultSignTool` for nuke version `8.*`. - Add `AzureKeyVaultConfig` with json file with `Azure Key Vault` without secrets. -- [ ] Add `build` with `.targets` to install packages `AzureSignTool` and `NuGetKeyVaultSignTool`. - Add `PackageDownload` to download `AzureSignTool` and `NuGetKeyVaultSignTool` on the fly. -- [ ] Update `IClear` with `CreateTemporaryIgnore`. -- [ ] Update `ISign` with `Requires`. - Add `HttpAuthTasks` to get/post files. - Update `HttpAuthTasks` docs. - Update `IsPathTooLong` to equal or greater than `260`. diff --git a/Directory.Build.props b/Directory.Build.props index 4b61b75..7f50035 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - 1.9.0-beta.5 + 1.9.0-beta.6 \ No newline at end of file diff --git a/ricaun.Nuke/Components/IClean.cs b/ricaun.Nuke/Components/IClean.cs index 9a67214..10d32c1 100644 --- a/ricaun.Nuke/Components/IClean.cs +++ b/ricaun.Nuke/Components/IClean.cs @@ -1,5 +1,4 @@ using Nuke.Common; -using Nuke.Common.IO; using ricaun.Nuke.Extensions; namespace ricaun.Nuke.Components @@ -15,16 +14,7 @@ public interface IClean : IHazSolution, INukeBuild Target Clean => _ => _ .Executes(() => { - //CreateTemporaryIgnore(); Solution.ClearSolution(BuildProjectDirectory); }); - - - private void CreateTemporaryIgnore() - { - var tempIgnore = TemporaryDirectory / ".." / ".gitignore"; - if (!tempIgnore.FileExists()) - tempIgnore.WriteAllText("temp"); - } } -} +} \ No newline at end of file diff --git a/ricaun.Nuke/Components/ISign.cs b/ricaun.Nuke/Components/ISign.cs index 3cfe1ca..aa7fd31 100644 --- a/ricaun.Nuke/Components/ISign.cs +++ b/ricaun.Nuke/Components/ISign.cs @@ -1,10 +1,8 @@ using Nuke.Common; using Nuke.Common.IO; using Nuke.Common.ProjectModel; -using Nuke.Common.Tools.AzureSignTool; using Nuke.Common.Utilities.Collections; using ricaun.Nuke.Extensions; -using ricaun.Nuke.Tools.NuGetKeyVaultSignTool; namespace ricaun.Nuke.Components { @@ -18,8 +16,6 @@ public interface ISign : ICompile, IHazSign, IHazSolution, INukeBuild /// Target Sign => _ => _ .TriggeredBy(Compile) - //.Requires() - //.Requires() .Executes(() => { SignProject(MainProject); diff --git a/ricaun.Nuke/build/ricaun.Nuke.targets b/ricaun.Nuke/build/ricaun.Nuke.targets deleted file mode 100644 index 7a10e93..0000000 --- a/ricaun.Nuke/build/ricaun.Nuke.targets +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - $(NoWarn);NU1505 - - - \ No newline at end of file diff --git a/ricaun.Nuke/ricaun.Nuke.csproj b/ricaun.Nuke/ricaun.Nuke.csproj index 535b270..698a957 100644 --- a/ricaun.Nuke/ricaun.Nuke.csproj +++ b/ricaun.Nuke/ricaun.Nuke.csproj @@ -74,9 +74,4 @@ - - - - -