summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCindy Pallares 🦉 <cindy@gitlab.com>2019-08-09 00:06:21 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-08-09 00:06:21 +0000
commit2b3042393566e716b1bea11401df916b9b530f23 (patch)
tree0ea4bd1c0fca15d1180bccf62dce84dafbd206d8 /lib
parent136c3efe61f2bee4acb9474d6a214a23632988ff (diff)
downloadgitlab-ce-2b3042393566e716b1bea11401df916b9b530f23.tar.gz
Add a field for released_at to GH importer
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/github_import/importer/releases_importer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/github_import/importer/releases_importer.rb b/lib/gitlab/github_import/importer/releases_importer.rb
index 0e7c9ee0d00..9d925581441 100644
--- a/lib/gitlab/github_import/importer/releases_importer.rb
+++ b/lib/gitlab/github_import/importer/releases_importer.rb
@@ -36,6 +36,7 @@ module Gitlab
description: description_for(release),
created_at: release.created_at,
updated_at: release.updated_at,
+ released_at: release.published_at,
project_id: project.id
}
end