lib/tasks/publish.rb in dev-2.0.291 vs lib/tasks/publish.rb in dev-2.0.292
- old
+ new
@@ -26,9 +26,9 @@
end
end
Dir.glob("#{Rake.application.original_dir}/**/*.{nupkg,msi,gem}").each{|publish_file|
dest="#{Environment.default.publish_dir}/#{File.basename(publish_file)}"
- add_quiet "<%FileUtils.cp('#{publish_file}','#{dest}')%>" if(!File.exists?(dest) || dest.include?('0.0'))
+ add_quiet "<%FileUtils.cp('#{publish_file}','#{dest}')%>" if(!File.exists?(dest) && !publish_file.include?('packages/'))
}
end
end
\ No newline at end of file