Skip to content

Commit b14719b

Browse files
committed
Merge pull request #522 from JakeGinnivan/GemFix
Upload built gem
2 parents 5e9fc63 + 51c0747 commit b14719b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Versioning when using git, solved. GitVersion looks at your git history and work
1212
|Chocolatey (GitVersion.Portable)|[![Chocolatey](https://img.shields.io/chocolatey/v/gitversion.portable.svg)](https://chocolatey.org/packages/GitVersion.Portable)|[![Chocolatey](https://img.shields.io/chocolatey/vpre/gitversion.portable.svg)](https://chocolatey.org/packages/GitVersion.Portable)|
1313
|NuGet (GitVersionTask)|[![NuGet](https://img.shields.io/nuget/v/GitVersionTask.svg)](https://www.nuget.org/packages/GitVersionTask)|[![NuGet](https://img.shields.io/nuget/vpre/GitVersionTask.svg)](https://www.nuget.org/packages/GitVersionTask)|
1414
|NuGet (GitVersion.CommandLine)|[![NuGet](https://img.shields.io/nuget/v/GitVersion.CommandLine.svg)](https://www.nuget.org/packages/GitVersion.CommandLine)|[![NuGet](https://img.shields.io/nuget/vpre/GitVersion.CommandLine.svg)](https://www.nuget.org/packages/GitVersion.CommandLine)|
15+
|Gem|[![Gem](https://img.shields.io/gem/v/gitversion.svg)](https://rubygems.org/gems/gitversion)|[![Gem](https://img.shields.io/gem/v/gitversion.svg)](https://rubygems.org/gems/gitversion)|
1516

1617
## Quick Links
1718
- [Documentation](http://gitversion.readthedocs.org/en/latest)

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+
- ps: appveyor PushArtifact ("build\GemBuild\gitversion-$env:GitVersion_MajorMinorPatch" + (&{If($env:GitVersion_PreReleaseTag -eq '' -or $env:GitVersion_PreReleaseTag -eq $null) {""} Else {"."+$env:GitVersion_PreReleaseTag}}) + ".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)