BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6524fbea
Commit
6524fbea
authored
Feb 18, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rs-sentry-release-tracking' into 'master'
Add release tracking for Sentry See merge request !2863
parents
c04e22fb
6c9ae675
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
2_app.rb
config/initializers/2_app.rb
+2
-2
sentry.rb
config/initializers/sentry.rb
+1
-0
No files found.
config/initializers/2_app.rb
View file @
6524fbea
...
...
@@ -3,6 +3,6 @@ module Gitlab
Settings
end
VERSION
=
File
.
read
(
Rails
.
root
.
join
(
"VERSION"
)).
strip
REVISION
=
Gitlab
::
Popen
.
popen
(
%W(
#{
config
.
git
.
bin_path
}
log --pretty=format:%h -n 1)
).
first
.
chomp
VERSION
=
File
.
read
(
Rails
.
root
.
join
(
"VERSION"
)).
strip
.
freeze
REVISION
=
Gitlab
::
Popen
.
popen
(
%W(
#{
config
.
git
.
bin_path
}
log --pretty=format:%h -n 1)
).
first
.
chomp
.
freeze
end
config/initializers/sentry.rb
View file @
6524fbea
...
...
@@ -14,6 +14,7 @@ if Rails.env.production?
if
sentry_enabled
Raven
.
configure
do
|
config
|
config
.
dsn
=
current_application_settings
.
sentry_dsn
config
.
release
=
Gitlab
::
REVISION
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment