diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-21 15:38:03 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-21 15:38:03 +0300 |
commit | ef73fe300c047d659c5bb665f200531efa95ac0b (patch) | |
tree | 15ba8daa1509d6a934567275d99ec10054e6fef4 /app/assets/javascripts/raven/index.js | |
parent | a9a603e707b2e56416a96f1db041f264d79166cb (diff) |
Use Gitlab::REVISION over reading HEAD sha from git
Diffstat (limited to 'app/assets/javascripts/raven/index.js')
-rw-r--r-- | app/assets/javascripts/raven/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/raven/index.js b/app/assets/javascripts/raven/index.js index f82824c0940..edc2293915f 100644 --- a/app/assets/javascripts/raven/index.js +++ b/app/assets/javascripts/raven/index.js @@ -6,9 +6,9 @@ const index = function index() { currentUserId: gon.current_user_id, whitelistUrls: [gon.gitlab_url], isProduction: process.env.NODE_ENV, - release: process.env.HEAD_COMMIT_SHA, + release: gon.revision, tags: { - HEAD_COMMIT_SHA: process.env.HEAD_COMMIT_SHA, + revision: gon.revision, }, }); |