forked from microsoft/xunit-performance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNightlyBuild.cmd
31 lines (22 loc) · 1.03 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
@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.27
set BuildSemanticVersion=1.0.0-alpha-build0027
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
goto :eof