From 73d46c82f9adfec573025a0196d7ed0ed6d95f28 Mon Sep 17 00:00:00 2001 From: Xander Sigler Date: Tue, 18 Jan 2022 12:03:54 -0800 Subject: [PATCH] Removed LS commands for nuget publish --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index e707839..194d190 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,16 +13,14 @@ steps: - echo Drone build number is ${DRONE_BUILD_NUMBER} - echo Revision is $((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION)) -- name: test +- name: nuget-publish image: mcr.microsoft.com/dotnet/sdk:5.0 environment: NUGET_API_KEY: from_secret: Nuget_Api_key commands: - - ls - dotnet build - dotnet pack -p:Version=1.0.$((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION)) -o . - - ls - dotnet nuget push *.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json - name: finish