File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,17 @@ Task("Upload-AppVeyor-Artifacts")
128
128
. WithCriteria ( ( ) => BuildSystem . AppVeyor . IsRunningOnAppVeyor )
129
129
. Does ( ( ) =>
130
130
{
131
+ var gem = string . IsNullOrEmpty ( preReleaseTag ) ?
132
+ "gitversion-" + version + ".gem" :
133
+ "gitversion-" + version + "." + preReleaseTag + ".gem" ;
134
+
131
135
System . IO . File . WriteAllLines ( "build/artifacts" , new [ ] {
132
136
"NuGetExeBuild:GitVersion.Portable." + nugetVersion + ".nupkg" ,
133
137
"NuGetCommandLineBuild:GitVersion.CommandLine." + nugetVersion + ".nupkg" ,
134
138
"NuGetRefBuild:GitVersion." + nugetVersion + ".nupkg" ,
135
139
"NuGetTaskBuild:GitVersionTask." + nugetVersion + ".nupkg" ,
136
140
"NuGetExeBuild:GitVersion.Portable." + nugetVersion + ".nupkg" ,
141
+ "GemBuild:" + gem ,
137
142
"zip:GitVersion_" + nugetVersion + ".zip" ,
138
143
"releaseNotes:releasenotes.md"
139
144
} ) ;
@@ -144,6 +149,7 @@ Task("Upload-AppVeyor-Artifacts")
144
149
AppVeyor . UploadArtifact ( "build/NuGetTaskBuild/GitVersionTask." + nugetVersion + ".nupkg" ) ;
145
150
AppVeyor . UploadArtifact ( "build/GitVersionTfsTaskBuild/gittools.gitversion-" + semVersion + ".vsix" ) ;
146
151
AppVeyor . UploadArtifact ( "build/GitVersion_" + nugetVersion + ".zip" ) ;
152
+ AppVeyor . UploadArtifact ( "build/GemBuild/" + gem ) ;
147
153
} ) ;
148
154
149
155
You can’t perform that action at this time.
0 commit comments