add deploy for linux
This commit is contained in:
13
deploy-nugets.sh
Executable file
13
deploy-nugets.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
sourceP="https://git.pilzinsel64.de/api/v4/projects/6/packages/nuget/index.json"
|
||||
apikeyP="$GitLab_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
|
||||
Reference in New Issue
Block a user