lib/tasks/setup.rb in dev-2.1.98 vs lib/tasks/setup.rb in dev-2.1.99
- old
+ new
@@ -137,10 +137,10 @@
if(current_version != target_version)
add_quiet "<%Text.replace_in_file('#{csproj}','#{current_version}','#{target_version}')%>"
end
end
end
- current_version=IO.read(csproj).scan(/Vversion>[\d.\w-]+<\/Version>/)[0]
+ current_version=IO.read(csproj).scan(/Version>[\d.\w-]+<\/Version>/)[0]
if(!current_version.nil?)
puts "#{csproj} current version=#{current_version}" if env.debug?
if(current_version.include?('<Version>'))
target_version="<Version>#{VERSION}</Version>"
if(current_version != target_version)
\ No newline at end of file