Skip to content

Commit 293eac8

Browse files
committed
Upload built gem
1 parent 5e9fc63 commit 293eac8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ build_script:
1919
- cmd: appveyor PushArtifact "build\NuGetCommandLineBuild\GitVersion.CommandLine.%GitVersion_NuGetVersion%.nupkg"
2020
- cmd: appveyor PushArtifact "build\NuGetRefBuild\GitVersion.%GitVersion_NuGetVersion%.nupkg"
2121
- cmd: appveyor PushArtifact "build\NuGetTaskBuild\GitVersionTask.%GitVersion_NuGetVersion%.nupkg"
22-
22+
- cmd: appveyor PushArtifact "build\GemBuild\gitversion-%GitVersion_SemVer%.gem"
23+
2324
- cmd: 7z a "GitVersion_%GitVersion_NuGetVersion%.zip" .\build\NuGetCommandLineBuild\Tools\*.*
2425
- cmd: appveyor PushArtifact "GitVersion_%GitVersion_NuGetVersion%.zip"
2526

build/Build.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ set src=%~dp0..\src\
77

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

10-
"%%~dp0NuGetCommandLineBuild\tools\GitVersion.exe" /l console /output buildserver /updateAssemblyInfo /proj "%src%GitVersion.sln"
10+
copy "%~dp0NuGetCommandLineBuild\tools\GitVersion.exe" "%tmp%GitVersion.exe"
11+
12+
"%tmp%GitVersion.exe" /l console /output buildserver /updateAssemblyInfo /proj "%src%GitVersion.sln"

0 commit comments

Comments
 (0)