diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-19 23:13:57 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-19 23:13:57 +0300 |
commit | fa04b50b3c84e69765df7a0c9a182d9709ade398 (patch) | |
tree | 50af2b45cca9271715077c24222b4c671d0cb086 /app/assets/javascripts/raven/index.js | |
parent | 9d29eb7e292067fb980b4ca97fc6c3edac1dccec (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.js | 4 |
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; |