lib/tasks/publish.rb in dev-2.0.168 vs lib/tasks/publish.rb in dev-2.0.169
- old
+ new
@@ -20,7 +20,13 @@
add "gem push #{Gemspec.gemfile(gemspec_file)}" if !Gemspec.published? gemspec_file
}
end
end
end
+ Dir.glob('**/*.nupkg').each{|nupkg|
+ dest="#{Environment.dev_root}/nuget/#{File.basename(nupkg)}"
+ if(!File.exists?(dest))
+ add "<%FileUtils.cp('#{nupkg}','#{dest}')%>"
+ end
+ }
end
end
\ No newline at end of file