diff --git a/build/build.cmd b/build/build.cmd index 581c4541..2b5243fa 100644 --- a/build/build.cmd +++ b/build/build.cmd @@ -20,18 +20,11 @@ set sources_path="%cd%\src" set build_output="%artifacts_sources_path%\Hangfire.Mongo\bin\Any CPU\Release" set nuget="%sources_path%\.nuget\NuGet.exe" -echo build number : %APPVEYOR_BUILD_NUMBER% -echo build tag : %APPVEYOR_REPO_TAG% -echo build version: %APPVEYOR_BUILD_VERSION% - if %msbuild% == "" ( echo No MSBuild found. exit /B 1 ) -if "%APPVEYOR_REPO_TAG%"=="true" goto deploy - -:build rem BUILD echo Restoring NuGet packages... %nuget% restore %sources_path%\Hangfire.Mongo.sln @@ -39,15 +32,7 @@ echo Restoring NuGet packages... echo build project using selected MSBuild %msbuild% %sources_path%\Hangfire.Mongo.sln /t:Rebuild /p:Configuration="Release" /p:Platform="Any CPU" -if errorlevel 1 ( - echo Build failed. - exit /B 1 -) - -exit /B 0 - -:deploy -rem DEPLOY +rem CREATE ARTIFACTS echo delete and create artifacts folders rmdir artifacts /s /q