Skip to content

Commit 5e61328

Browse files
committed
Fix Rake :preview_docs tarball
The previous version created a circular reference, I believe, which caused: ``` tar: .: file changed as we read it ```
1 parent 5e0c738 commit 5e61328

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Rakefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ task :preview_docs do
6262
FileUtils.mv("doc/rdoc", "preview/api")
6363
FileUtils.mv("guides/output", "preview/guides")
6464

65-
Dir.chdir("preview") do
66-
system("tar -czf preview.tar.gz .")
67-
end
65+
system("tar -czf preview.tar.gz -C preview .")
6866
end
6967

7068
desc "Bump all versions to match RAILS_VERSION"

0 commit comments

Comments
 (0)