Permalink
Browse files

Updated nuget scripts. Push may not be working correctly yet.

  • Loading branch information...
Josh Close
Josh Close committed Apr 23, 2017
1 parent ab1bdf3 commit fca130ec48de89b8b99a7c20bf5d9ac5d7c37c93
Showing with 3 additions and 21 deletions.
  1. +1 −5 Pack NuGet Packages.bat
  2. +2 −16 Push NuGet Packages.bat
View
@@ -1,9 +1,5 @@
rmdir /S /Q NuGet
-@rem This currently doesn't work with net20 and net35.
-@rem dotnet pack src\CsvHelper --configuration release --output NuGet
-
-set msbuild="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild"
-%msbuild% src\CsvHelper\ /t:Pack /p:Configuration=Release;PackageOutputPath=..\..\NuGet
+dotnet pack src\CsvHelper --include-symbols --configuration release --output ..\..\NuGet
pause
View
@@ -1,17 +1,3 @@
-:: .\src\.nuget\NuGet.exe push .\NuGet\CsvHelper.*.nupkg -Source https://www.nuget.org/api/v2/package
+dotnet nuget push NuGet
-@echo off
-
-if [%1]==[] goto USAGE
-
-.\src\.nuget\NuGet.exe push %1 -source nuget.org
-
-goto DONE
-
-:USAGE
-
-cmd
-::@echo Usage: %0 ^<package.nupkg^>
-::pause
-
-:DONE
+pause

0 comments on commit fca130e

Please sign in to comment.