diff --git a/CHANGELOG b/CHANGELOG index 98a83d98..57d5b9b2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,11 @@ +2.0.13.1 +==== +build --clean shouldn't remove dotfiles + 2.0.13 ==== middleman build --clean keeps the build directory clean of leftover files +Padrino 0.10.5 and Rack 1.3.5 2.0.12 ==== diff --git a/lib/middleman/builder.rb b/lib/middleman/builder.rb index 757ca417..73cb4a59 100644 --- a/lib/middleman/builder.rb +++ b/lib/middleman/builder.rb @@ -68,6 +68,7 @@ module Middleman def queue_current_paths_from(destination) @cleaning_queue = [] Find.find(destination) do |path| + next if path.match(/\/\./) unless path == destination @cleaning_queue << path.sub(destination, destination[/([^\/]+?)$/]) end diff --git a/lib/middleman/version.rb b/lib/middleman/version.rb index 8522387a..0b18ebd6 100644 --- a/lib/middleman/version.rb +++ b/lib/middleman/version.rb @@ -1,3 +1,3 @@ module Middleman - VERSION = "2.0.13" + VERSION = "2.0.13.1" end