Skip to content

Commit

Permalink
Add a deploy batch script
Browse files Browse the repository at this point in the history
  • Loading branch information
howryu committed May 25, 2018
1 parent a3f8736 commit 8830d6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
REM Scripts to build .net driver and deploy
SET VERSION=%1
SET API_KEY=%2

SET ROOT_DIR=%~dp0
cd %ROOT_DIR%

dotnet pack Snowflake.Data\Snowflake.Data.csproj -c Release --force -v n --output %ROOT_DIR%

dotnet nuget push Snowflake.Data.%VERSION%.nupkg -k %API_KEY% -s https://api.nuget.org/v3/index.json

0 comments on commit 8830d6a

Please sign in to comment.