5 Commits

Author SHA1 Message Date
d6d746c1ed deploy-nugets.sh hinzugefügt 2025-12-20 09:53:34 +00:00
50a8dc6d09 Pilz.Dalamud/deploy-nugets.sh gelöscht 2025-12-20 09:53:10 +00:00
6ad3faa922 Pilz.Dalamud/deploy-nugets.sh hinzugefügt 2025-12-20 09:52:48 +00:00
64dd38a2a3 deploy-nugets.bat aktualisiert 2025-12-20 09:52:19 +00:00
e748ba7138 README.md aktualisiert 2025-12-20 09:51:45 +00:00
3 changed files with 16 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ Install the latest version of `Pilz.Dalamud` via NuGet Package Manager or NuGet
https://www.nuget.org/packages/Pilz.Dalamud https://www.nuget.org/packages/Pilz.Dalamud
Or add the alternative package source for slightly quicker updates:\ Or add the alternative package source for slightly quicker updates:\
`<add key="Pilz.Dalamud" value="https://git.pilzinsel64.de/api/v4/projects/8/packages/nuget/index.json" />`\ `<add key="Pilz" value="https://git.pilzinsel64.de/api/packages/Pilz.NET/nuget/index.json" />`\
## Get started ## Get started

View File

@@ -1,7 +1,7 @@
@echo off @echo off
set sourceP="https://git.pilzinsel64.de/api/v4/projects/25/packages/nuget/index.json" set sourceP="https://git.pilzinsel64.de/api/packages/Pilz.NET/nuget/index.json"
set apikeyP=%GitLab_git_pilzinsel64_de% set apikeyP=%Gitea_git_pilzinsel64_de%
set sourceN="https://api.nuget.org/v3/index.json" set sourceN="https://api.nuget.org/v3/index.json"
set apikeyN=%NuGet_ApiKey% set apikeyN=%NuGet_ApiKey%

13
deploy-nugets.sh Normal file
View File

@@ -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