From 7eb03cdf6f8b73fa14949113cb1a99cab1ea6e7d Mon Sep 17 00:00:00 2001 From: "r.v.bobreshov" Date: Tue, 14 May 2019 15:06:01 +0300 Subject: [PATCH] add nuget.org --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 185d4f8..b01eb7f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,6 +20,7 @@ steps: when: event: - push + - tag - name: push image: mcr.microsoft.com/dotnet/core/sdk:2.2 @@ -29,7 +30,7 @@ steps: commands: - cd src - dotnet pack Horarium/Horarium.csproj -c Release /p:PackageVersion=$DRONE_TAG - - dotnet nuget push **/Horarium.*.nupkg -k $NUGET_APIKEY + - dotnet nuget push **/Horarium.*.nupkg -k $NUGET_APIKEY -s https://www.nuget.org when: event: - tag