Skip to content

Commit

Permalink
NuGet files for core.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshClose committed Oct 9, 2018
1 parent 58b2110 commit d0a69e3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@
*[Dd]ebug/
packages/
NuGet/
.vs/
6 changes: 6 additions & 0 deletions Pack NuGet Packages Core.bat
@@ -0,0 +1,6 @@
del /S /Q NuGet\*.*

dotnet pack src\Pjax.MvcCore -c release -o ..\..\NuGet\Pack
dotnet pack src\Pjax.MvcCore -c release -o ..\..\NuGet\Symbols --include-symbols

pause
1 change: 0 additions & 1 deletion Pack NuGet Packages.bat
Expand Up @@ -3,4 +3,3 @@ del /Q NuGet\*.*
.\src\.nuget\NuGet.exe pack .\src\Pjax.Mvc5\Pjax.Mvc5.nuspec -OutputDirectory NuGet
.\src\.nuget\NuGet.exe pack .\src\Pjax.Mvc4\Pjax.Mvc4.nuspec -OutputDirectory NuGet
.\src\.nuget\NuGet.exe pack .\src\Pjax.Mvc3\Pjax.Mvc3.nuspec -OutputDirectory NuGet

4 changes: 4 additions & 0 deletions Push NuGet Packages Core.bat
@@ -0,0 +1,4 @@
dotnet nuget push NuGet\Pack\*.nupkg -s nuget.org
dotnet nuget push NuGet\Symbols\*.symbols.nupkg -s https://nuget.smbsrc.net/

pause

0 comments on commit d0a69e3

Please sign in to comment.