Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.9.1 #80

Merged
merged 5 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ jobs:
NugetApiUrl: ${{ secrets.NUGET_API_URL }}
NugetApiKey: ${{ secrets.NUGET_API_KEY }}

# SignFile: ${{ secrets.SIGN_FILE }}
# SignPassword: ${{ secrets.SIGN_PASSWORD }}
SignFile: ${{ secrets.SIGN_FILE_AZURE }}
SignPassword: ${{ secrets.SIGN_PASSWORD_AZURE }}
SignFile: ${{ secrets.SIGN_FILE }}
SignPassword: ${{ secrets.SIGN_PASSWORD }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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).

## [1.9.1] / 2025-01-03
### Updated
- Force to uninstall local `Tools` to remove cache when `.exe` is not found. (Fix: #79)

## [1.9.0] / 2024-12-06 - 2024-12-19
### Features
- Enable sign files using `Azure Key Vault`.
Expand Down Expand Up @@ -389,6 +393,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- First Release

[vNext]: ../../compare/1.0.0...HEAD
[1.9.1]: ../../compare/1.9.0...1.9.1
[1.9.0]: ../../compare/1.8.2...1.9.0
[1.8.2]: ../../compare/1.8.1...1.8.2
[1.8.1]: ../../compare/1.8.0...1.8.1
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.9.0</Version>
<Version>1.9.1</Version>
</PropertyGroup>
</Project>
1 change: 1 addition & 0 deletions ricaun.Nuke/Extensions/NuGetExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public static bool NugetSign(string packageFileName, string certPath, string cer
{
try
{
Serilog.Log.Information($"NuGet sign: {packageFileName}");
NuGetTasks.NuGet(
$"sign \"{packageFileName}\"" +
$" -CertificatePath {certPath}" +
Expand Down
12 changes: 12 additions & 0 deletions ricaun.Nuke/Tools/AzureSignToolUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ private static string PackageDownload(string packageId)
return packageToolExeExists;
}

try
{
// Force to uninstall to remove cache files if exists.
DotNetTasks.DotNetToolUninstall(x => x
.SetPackageName(packageId)
.SetToolInstallationPath(toolFolder)
.DisableProcessLogInvocation()
.DisableProcessLogOutput()
);
}
catch { }

DotNetTasks.DotNetToolInstall(x => x
.SetPackageName(packageId)
.SetToolInstallationPath(toolFolder)
Expand Down
Loading