lib/packaging/nuget.rb in packaging-0.108.2 vs lib/packaging/nuget.rb in packaging-0.109.0

- old
+ new

@@ -21,10 +21,10 @@ uri = "#{Pkg::Config.nuget_host}#{Pkg::Config.nuget_repo_path}" form_data = ["-H 'Authorization: Basic #{authentication}'", "-f"] packages.each do |pkg| puts "Working on package #{pkg}" - projname, version = File.basename(pkg).match(/^(.*)-([\d+\.]+)\.nupkg$/).captures + projname, version = File.basename(pkg).match(/^(.*)-([\d+.]+)\.nupkg$/).captures package_form_data = ["--upload-file #{pkg}"] package_path = "#{projname}/#{version}/#{File.basename(pkg)}" stdout = '' retval = '' Pkg::Util::Execution.retry_on_fail(:times => 3) do