2016-07-17 21:12:35 +00:00
|
|
|
@echo off
|
|
|
|
cls
|
|
|
|
|
|
|
|
.paket\paket.bootstrapper.exe
|
|
|
|
if errorlevel 1 (
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
|
|
|
|
.paket\paket.exe restore
|
|
|
|
if errorlevel 1 (
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
|
|
|
|
IF NOT EXIST build.fsx (
|
|
|
|
.paket\paket.exe update
|
|
|
|
packages\FAKE\tools\FAKE.exe init.fsx
|
|
|
|
)
|
2017-07-27 09:58:30 +00:00
|
|
|
|
2017-07-27 10:01:21 +00:00
|
|
|
SET BuildTarget=
|
2017-07-27 09:58:30 +00:00
|
|
|
if "%BuildRunner%" == "MyGet" (
|
|
|
|
SET BuildTarget=NuGet
|
2017-08-04 09:27:34 +00:00
|
|
|
|
2017-08-04 11:58:39 +00:00
|
|
|
:: Replace the existing release notes file with one for this build only
|
2017-08-04 09:27:34 +00:00
|
|
|
echo ### %PackageVersion% > RELEASE_NOTES.md
|
|
|
|
echo * git build >> RELEASE_NOTES.md
|
2017-07-27 09:58:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
packages\FAKE\tools\FAKE.exe build.fsx %* %BuildTarget%
|