Skip to content
Permalink
Browse files

修复打包批处理错误

  • Loading branch information...
Kation committed Aug 21, 2017
1 parent 3d08cf7 commit 431a16530625d66f205103d0afa92cd3bc01c7e9
Showing with 17 additions and 18 deletions.
  1. +17 −18 pack.bat
@@ -1,24 +1,23 @@
@echo off
set version=""
set /p version=ÇëÊäÈë°æ±¾ºÅ£º
@echo %version%
if "%version%" neq "" set "version=%version%"
set s_version=""
set /p s_version=ÇëÊäÈë°æ±¾ºÅ£º
if "%s_version%" neq "" set "s_version=--version-suffix %s_version%"
if not exist build md build
cd build
del *.nupkg
cd..
dotnet pack src\Wodsoft.ComBoost.Core --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Security --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.AspNetCore.Security --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.AspNetCore --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Data.Core --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Data --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.EntityFramework --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.EntityFrameworkCore --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Mock --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Mvc --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Mvc.Data --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Storage --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Redis --output ..\..\build --include-source %version%
dotnet pack src\Wodsoft.ComBoost.Core --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Security --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.AspNetCore.Security --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.AspNetCore --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Data.Core --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Data --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.EntityFramework --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.EntityFrameworkCore --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Mock --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Mvc --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Mvc.Data --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Storage --output ..\..\build --include-source %s_version%
dotnet pack src\Wodsoft.ComBoost.Redis --output ..\..\build --include-source %s_version%
pause

0 comments on commit 431a165

Please sign in to comment.
You can’t perform that action at this time.