Skip to content

Commit

Permalink
fix: cake build script
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Nov 12, 2024
1 parent 075075f commit bf20816
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,8 @@ void SignFiles(string filesToSign, string description)
var azureSignTool = Context.Tools.Resolve("azuresigntool.exe");

var arguments = new ProcessArgumentBuilder()
.Append("sign");
.AppendSwitchQuoted("--input-file-list", filesToSign);

ExecuteProcess(azureSignTool, arguments
.Append("sign")
.AppendSwitchQuoted("--input-file-list", filesToSign)
.AppendSwitchQuoted("--file-digest", "sha256")
.AppendSwitchQuoted("--description", description)
.AppendSwitchQuoted("--description-url", "https://github.com/MahApps/IconPacks.Avalonia")
Expand All @@ -354,7 +352,9 @@ void SignFiles(string filesToSign, string description)
.AppendSwitchQuotedSecret("--azure-key-vault-tenant-id", vctid)
.AppendSwitchQuotedSecret("--azure-key-vault-client-secret", vcs)
.AppendSwitchQuotedSecret("--azure-key-vault-certificate", vc)
);
;

ExecuteProcess(azureSignTool, arguments);
}

void ExecuteProcess(FilePath fileName, ProcessArgumentBuilder arguments, string workingDirectory = null)
Expand Down

0 comments on commit bf20816

Please sign in to comment.