From 2308ab533acdbd6cf4c3411cd7b64350e87983c2 Mon Sep 17 00:00:00 2001 From: azures04 Date: Tue, 27 Jan 2026 02:06:51 +0100 Subject: [PATCH] Fixed minor mistake --- Cli.cs | 2 +- publish.ps1 | 2 +- temp.azp | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 temp.azp diff --git a/Cli.cs b/Cli.cs index 4971a12..55c5cc8 100644 --- a/Cli.cs +++ b/Cli.cs @@ -11,7 +11,7 @@ public class Program { } } - if (arguments.ContainsKey("--action") || !arguments.ContainsKey("--sourcedir") || !arguments.ContainsKey("--outputpath") || !arguments.ContainsKey("--key")) { + if (!arguments.ContainsKey("--action") || !arguments.ContainsKey("--sourcedir") || !arguments.ContainsKey("--outputpath") || !arguments.ContainsKey("--key")) { Console.WriteLine("Usage: AzuresPackager.Cli --action <[pack/unpack]> --sourceDir --outputPath --key "); return; } diff --git a/publish.ps1 b/publish.ps1 index 5a323b4..856baec 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -14,4 +14,4 @@ Write-Host "`r`n[Task 4/4] Packing project..." -ForegroundColor Magenta dotnet pack --version $version Write-Host "`r`n[Task 5/4] Publishing project..." -ForegroundColor Magenta -dotnet nuget push --source AzuresGitea "nupkg\AzuresPackager.$version.nupkg" --skip-duplicate \ No newline at end of file +dotnet nuget push --source AzuresGitea "bin\Debug\AzuresPackager.$version.nupkg" --skip-duplicate \ No newline at end of file diff --git a/temp.azp b/temp.azp new file mode 100644 index 0000000..f94f652 --- /dev/null +++ b/temp.azp @@ -0,0 +1,2 @@ +za).***$*…:v:² ***?***&***KYYOFOGK^R^#>/*w**:** +¶ÆòO$ å7‚X°sX¶õ"$˳Fj¼*za+(>*>***$*…:v:² ***?***&************«****KYYOFOGK^R^za/,****+*+****g***** \ No newline at end of file