@@ -63,7 +63,8 @@ private static void CreateNuspec(
6363 N ( "version" , version . ToString ( ) ) ,
6464 N ( "authors" , Config . Authors ) ,
6565 N ( "owners" , Config . Owners ) ,
66- N ( "licenseUrl" , "https://github.com/sergey-shandar/getboost/blob/master/LICENSE" ) ,
66+ N ( "license" , Xml . A ( "type" , "expression" ) ) ,
67+ N ( "license" , "BSL-1.0" ) ,
6768 N ( "projectUrl" , "https://github.com/sergey-shandar/getboost" ) ,
6869 N ( "requireLicenseAcceptance" , "false" ) ,
6970 N ( "description" , description ) ,
@@ -85,7 +86,7 @@ private static void CreateNuspec(
8586 nuspec . CreateDocument ( ) . Save ( nuspecFile ) ;
8687 Process . Start (
8788 new ProcessStartInfo (
88- @"..\..\..\packages\NuGet.CommandLine.6.0 .0\tools\nuget.exe" ,
89+ @"..\..\..\packages\NuGet.CommandLine.6.1 .0\tools\nuget.exe" ,
8990 "pack " + nuspecFile )
9091 {
9192 UseShellExecute = false ,
@@ -95,14 +96,14 @@ private static void CreateNuspec(
9596 {
9697 var p = Process . Start (
9798 new ProcessStartInfo (
98- @"..\..\..\packages\NuGet.CommandLine.6.0 .0\tools\nuget.exe" ,
99+ @"..\..\..\packages\NuGet.CommandLine.6.1 .0\tools\nuget.exe" ,
99100 "push " + nupkgFile + " -Source https://api.nuget.org/v3/index.json -ApiKey _" )
100101 {
101102 UseShellExecute = false ,
102103 } ) ;
103104 p . WaitForExit ( ) ;
104105 if ( p . ExitCode != 0 ) {
105- Environment . Exit ( p . ExitCode ) ;
106+ // Environment.Exit(p.ExitCode);
106107 }
107108 }
108109 }
0 commit comments