summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-24 00:07:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-24 00:07:31 +0000
commit3888bc4261500c275759683076e07baaf352e5ec (patch)
treeeb70e0415be41a1d713cc89f211a6045778cd6b8 /lib/gitlab/import_export.rb
parent33e1622bfe5afb2eea08ff06e44de490383a93e3 (diff)
downloadgitlab-ce-3888bc4261500c275759683076e07baaf352e5ec.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/import_export.rb')
-rw-r--r--lib/gitlab/import_export.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/import_export.rb b/lib/gitlab/import_export.rb
index 516e7f54a6e..8ce6549c0c7 100644
--- a/lib/gitlab/import_export.rb
+++ b/lib/gitlab/import_export.rb
@@ -50,6 +50,14 @@ module Gitlab
'VERSION'
end
+ def gitlab_version_filename
+ 'GITLAB_VERSION'
+ end
+
+ def gitlab_revision_filename
+ 'GITLAB_REVISION'
+ end
+
def export_filename(exportable:)
basename = "#{Time.now.strftime('%Y-%m-%d_%H-%M-%3N')}_#{exportable.full_path.tr('/', '_')}"