Skip to content

Commit 3796e35

Browse files
committed
copy extra files when doing build.cmd
1 parent 733233c commit 3796e35

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build/Build.cmd

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ set src=%~dp0..\src\
77

88
"%SystemDrive%\Windows\Microsoft.NET\Framework\%framework%\MSBuild.exe" "%src%GitVersion.sln"
99

10-
copy "%~dp0NuGetCommandLineBuild\tools\GitVersion.exe" "%tmp%GitVersion.exe"
10+
rmdir /s /q "%tmp%GitVersion"
11+
md "%tmp%GitVersion"
1112

12-
"%tmp%GitVersion.exe" /l console /output buildserver /updateAssemblyInfo /proj "%src%GitVersion.sln"
13+
xcopy /E "%~dp0NuGetCommandLineBuild\tools" "%tmp%GitVersion"
14+
15+
"%tmp%GitVersion\GitVersion.exe" /l console /output buildserver /updateAssemblyInfo /proj "%src%GitVersion.sln"
16+
17+
rmdir /s /q "%tmp%GitVersion"

0 commit comments

Comments
 (0)