lib/tasks/setup.rb in dev-2.0.267 vs lib/tasks/setup.rb in dev-2.0.268
- old
+ new
@@ -72,10 +72,10 @@
if(current_version != target_version)
add "<%Text.replace_in_file('#{assemblyInfo}','#{current_version}','#{target_version}')%>"
end
end
}
- Dir.glob('**/wxs').each{|wxs|
+ Dir.glob('**/*.wxs').each{|wxs|
current_version=IO.read(wxs).scan(/Version=\"([\d.]+)\"/)[0]
puts "#{wxs} current version=#{current_version}" if defined?(DEBUG)
if(current_version.include?('Version='))
target_version="Version=\"#{VERSION}\")="
if(current_version != target_version)
\ No newline at end of file