Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
6eacfa99
Commit
6eacfa99
authored
Feb 18, 2016
by
Douwe Maan
Committed by
Rémy Coutable
Feb 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'rs-sentry-release-tracking' into 'master'
Add release tracking for Sentry See merge request !2863
parent
10354f7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
config/initializers/2_app.rb
config/initializers/2_app.rb
+2
-2
config/initializers/sentry.rb
config/initializers/sentry.rb
+1
-0
No files found.
config/initializers/2_app.rb
View file @
6eacfa99
...
...
@@ -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 @
6eacfa99
...
...
@@ -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