forked from microsoft/xunit-performance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NightlyBuild.cmd
35 lines (25 loc) · 1.14 KB
/
NightlyBuild.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
goto :main
======================================================================
Perform a clean build, run tests and create NuGet packages for this
solution. Note that this also modifies the following file, replacing
placeholder version numbers with actual version numbers:
src\common\GlobalAssemblyInfo.cs
(see the SetVersionNumber task in xunit.performance.msbuild)
This file will, therefore, show up as modified after the build.
Be careful NOT to check it in that way!
If you publish these packages to Nuget, then please remember to
bump the build number on BuildSemanticVersion below.
======================================================================
:main
setlocal
set BuildAssemblyVersion=1.0.0.35
set BuildSemanticVersion=1.0.0-alpha-build0035
set OutputDirectory=%~dp0LocalPackages
set DotNet=%~dp0\tools\cli\bin\dotnet
echo Building version %BuildSemanticVersion% NuGet packages.
echo WARNING: Some source files will be modified during this build.
echo WARNING: Please be careful not to check in those modifications.
msbuild.exe /m /nologo /t:Nightly /v:m /fl xunit.performance.msbuild
BuildCliComponents.cmd Release
goto :eof