X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build.cmd;h=6e9f6a8f8f615f4bf7dfc999cdf8608bdeead268;hb=8d2af23d151ac77a9490e6e1d177283c104123f6;hp=b05729ec93765c3c73f1cef8966cb853c25f4a05;hpb=408cf57bd9e5d5c912aae721fe120dfaf6642307;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/build.cmd b/build.cmd index b05729e..6e9f6a8 100644 --- a/build.cmd +++ b/build.cmd @@ -37,19 +37,15 @@ call dotnet msbuild %~dp0build\build.proj /nologo /t:build goto :EOF :DummyBuild -call dotnet build %~dp0build\build.dummy.csproj +call dotnet msbuild %~dp0build\build.proj /nologo /t:dummy +call dotnet msbuild %~dp0build\build.proj /nologo /t:afterdummy goto :EOF :Pack set VERSION=%2 -set VERSION_INTERNAL=%3 call :GetUnixTime TIMESTAMP -if /I [%VERSION%] == [] set VERSION=4.0.1-local-%TIMESTAMP% -if /I [%VERSION_INTERNAL%] == [] set VERSION_INTERNAL=%VERSION% -set OUTDIR=%~dp0Artifacts -set NUGET_CMD=%~dp0tools\NuGet.exe -%NUGET_CMD% pack %~dp0pkg\Tizen.NET.nuspec -NoPackageAnalysis -Version %VERSION% -BasePath %~dp0 -OutputDirectory %OUTDIR% -%NUGET_CMD% pack %~dp0pkg\Tizen.NET.Internals.nuspec -NoPackageAnalysis -Version %VERSION_INTERNAL% -BasePath %~dp0 -OutputDirectory %OUTDIR% +if /I [%VERSION%] == [] set VERSION=5.0.0-local-%TIMESTAMP% +call dotnet msbuild %~dp0build\build.proj /nologo /t:pack /p:Version=%VERSION% goto :EOF :Clean