diff --git a/deploy.bat b/deploy.bat new file mode 100644 index 000000000..90d0bb00f --- /dev/null +++ b/deploy.bat @@ -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 \ No newline at end of file