Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-19 23:13:57 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-19 23:13:57 +0300
commitfa04b50b3c84e69765df7a0c9a182d9709ade398 (patch)
tree50af2b45cca9271715077c24222b4c671d0cb086 /app/assets/javascripts/raven/index.js
parent9d29eb7e292067fb980b4ca97fc6c3edac1dccec (diff)
Read HEAD commit and use as releases value
Diffstat (limited to 'app/assets/javascripts/raven/index.js')
-rw-r--r--app/assets/javascripts/raven/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/raven/index.js b/app/assets/javascripts/raven/index.js
index 5325e495815..f82824c0940 100644
--- a/app/assets/javascripts/raven/index.js
+++ b/app/assets/javascripts/raven/index.js
@@ -6,6 +6,10 @@ const index = function index() {
currentUserId: gon.current_user_id,
whitelistUrls: [gon.gitlab_url],
isProduction: process.env.NODE_ENV,
+ release: process.env.HEAD_COMMIT_SHA,
+ tags: {
+ HEAD_COMMIT_SHA: process.env.HEAD_COMMIT_SHA,
+ },
});
return RavenConfig;