summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/saver.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-04-22 12:18:11 +0200
committerJames Lopez <james@jameslopez.es>2016-04-22 12:18:11 +0200
commit42567436863c96b7f184cc7a728b2da3d18852c8 (patch)
treee58392ef2400aa392adab0985c6b087d00de60e4 /lib/gitlab/import_export/saver.rb
parent2d503f6410ec6e6bbad0e3df0f69d3ea94038333 (diff)
downloadgitlab-ce-42567436863c96b7f184cc7a728b2da3d18852c8.tar.gz
refactored path stuff
Diffstat (limited to 'lib/gitlab/import_export/saver.rb')
-rw-r--r--lib/gitlab/import_export/saver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/saver.rb b/lib/gitlab/import_export/saver.rb
index f26804d2402..f87e0fdc7ea 100644
--- a/lib/gitlab/import_export/saver.rb
+++ b/lib/gitlab/import_export/saver.rb
@@ -31,7 +31,7 @@ module Gitlab
end
def archive_file
- @archive_file ||= File.join(@storage_path, '..', 'project.tar.gz')
+ @archive_file ||= File.join(@storage_path, '..', "#{Time.now.strftime('%Y-%m-%d_%H-%M-%3N')}_project_export.tar.gz")
end
end
end