diff options
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/push-to-nuget.sh')
-rwxr-xr-x | fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/push-to-nuget.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/push-to-nuget.sh b/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/push-to-nuget.sh deleted file mode 100755 index 598dd4cd7..000000000 --- a/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/push-to-nuget.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# -# Upload NuGet package to NuGet.org using provided NuGet API key -# - -set -e - -key=$1 -pkg=$2 - -if [[ -z $pkg ]]; then - echo "Usage: $0 <nuget.org-api-key> <nuget-package>" - exit 1 -fi - -set -u - -docker run -t -v $PWD/$pkg:/$pkg mcr.microsoft.com/dotnet/sdk:3.1 \ - dotnet nuget push /$pkg -n -s https://api.nuget.org/v3/index.json \ - -k $key --source https://api.nuget.org/v3/index.json - |