File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ var parserProjectName = "Curl.CommandLine.Parser";
2727var parserProjectFile = $"./src/{parserProjectName}/{parserProjectName}.csproj" ;
2828var httpConverterProjectName = "Curl.HttpClient.Converter" ;
2929var httpConverterProjectFile = $"./src/{httpConverterProjectName}/{httpConverterProjectName}.csproj" ;
30+ var extensionsVersion = XmlPeek( parserProjectFile , "Project/PropertyGroup[1]/VersionPrefix/text()" ) ;
3031
3132Task ( "Build" )
3233 . Does ( ( ) =>
@@ -90,8 +91,8 @@ Task("CreateArtifact")
9091 MoveFile ( tempPublishArchive , artifactFileName ) ;
9192 BuildSystem . AppVeyor . UploadArtifact ( artifactFileName ) ;
9293
93- BuildSystem . AppVeyor . UploadArtifact ( "Curl.CommandLine.Parser. nupkg") ;
94- BuildSystem . AppVeyor . UploadArtifact ( "Curl.HttpClient.Converter. nupkg") ;
94+ BuildSystem . AppVeyor . UploadArtifact ( string . Format ( "{0}.{1}. nupkg", parserProjectName , nugetVersion ) ) ;
95+ BuildSystem . AppVeyor . UploadArtifact ( string . Format ( "{0}.{1}. nupkg", httpConverterProjectName , nugetVersion ) ) ;
9596} ) ;
9697
9798Task( "SonarBegin" )
You can’t perform that action at this time.
0 commit comments