Skip to content

Commit 18a7f62

Browse files
authored
Code signing issues "workaround" (#566)
* Update deploy.yml * Sign one at a time maybe? * It worked, fixes for PR * cont'd
1 parent 60fb084 commit 18a7f62

File tree

1 file changed

+17
-14
lines changed
  • src/infrastructure/Silk.NET.NUKE

1 file changed

+17
-14
lines changed

src/infrastructure/Silk.NET.NUKE/Build.cs

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -443,20 +443,23 @@ async Task PushPackages()
443443
DotNetToolInstall(s => s.SetToolInstallationPath(basePath / "tool").SetPackageName("SignClient"));
444444
}
445445

446-
StartProcess
447-
(
448-
execPath,
449-
"sign " +
450-
$"--baseDirectory {PackageDirectory} " +
451-
"--input \"**/*.nupkg\" " +
452-
$"--config \"{basePath / "config.json"}\" " +
453-
$"--filelist \"{basePath / "filelist.txt"}\" " +
454-
$"--user \"{SignUsername}\" " +
455-
$"--secret \"{SignPassword}\" " +
456-
"--name \"Silk.NET\" " +
457-
"--description \"Silk.NET\" " +
458-
"--descriptionUrl \"https://github.com/dotnet/Silk.NET\""
459-
).AssertZeroExitCode();
446+
foreach (var pkg in Packages)
447+
{
448+
StartProcess
449+
(
450+
execPath,
451+
"sign " +
452+
$"--baseDirectory {PackageDirectory} " +
453+
$"--input \"{pkg}\" " +
454+
$"--config \"{basePath / "config.json"}\" " +
455+
$"--filelist \"{basePath / "filelist.txt"}\" " +
456+
$"--user \"{SignUsername}\" " +
457+
$"--secret \"{SignPassword}\" " +
458+
"--name \"Silk.NET\" " +
459+
"--description \"Silk.NET\" " +
460+
"--descriptionUrl \"https://github.com/dotnet/Silk.NET\""
461+
).AssertZeroExitCode();
462+
}
460463
}
461464

462465
var allFiles = Packages.Select((x, i) => new {Index = i, Value = x})

0 commit comments

Comments
 (0)