Skip to content

Commit

Permalink
add nuget.org
Browse files Browse the repository at this point in the history
  • Loading branch information
r.v.bobreshov committed May 14, 2019
1 parent d01bca4 commit 7eb03cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ steps:
when:
event:
- push
- tag

- name: push
image: mcr.microsoft.com/dotnet/core/sdk:2.2
Expand All @@ -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
Expand Down

0 comments on commit 7eb03cd

Please sign in to comment.