lib/tasks/setup.rb in dev-2.1.71 vs lib/tasks/setup.rb in dev-2.1.72
- old
+ new
@@ -105,10 +105,10 @@
end
end
end
}
Dir.glob('**/*.csproj').each{|csproj|
- current_version=IO.read(nuspec).scan(/<PackageVersion>[\d.]+<\/PackageVersion>/)[0]
+ current_version=IO.read(csproj).scan(/<PackageVersion>[\d.]+<\/PackageVersion>/)[0]
if(!current_version.nil?)
puts "#{csproj} current version=#{current_version}" if env.debug?
if(current_version.include?('<PackageVersion>'))
target_version="<PackageVersion>#{VERSION}</PackageVersion>"
if(current_version != target_version)
\ No newline at end of file