From 6ad3faa922937941978b1e6f3deb0eeef2009f2f Mon Sep 17 00:00:00 2001 From: Pascal Date: Sat, 20 Dec 2025 09:52:48 +0000 Subject: [PATCH] =?UTF-8?q?Pilz.Dalamud/deploy-nugets.sh=20hinzugef=C3=BCg?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pilz.Dalamud/deploy-nugets.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Pilz.Dalamud/deploy-nugets.sh diff --git a/Pilz.Dalamud/deploy-nugets.sh b/Pilz.Dalamud/deploy-nugets.sh new file mode 100644 index 0000000..d78c15d --- /dev/null +++ b/Pilz.Dalamud/deploy-nugets.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +sourceP="https://git.pilzinsel64.de/api/packages/Pilz.NET/nuget/index.json" +apikeyP="$Gitea_git_pilzinsel64_de" + +sourceN="https://api.nuget.org/v3/index.json" +apikeyN="$NuGet_ApiKey" + +for pkg in "$@"; do + dotnet nuget push "$pkg" --source "$sourceP" --api-key "$apikeyP" --skip-duplicate + dotnet nuget push "$pkg" --source "$sourceN" --api-key "$apikeyN" --skip-duplicate +done