From 304909d5b435e124dd5bc85459508a3b4272e0f1 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 12 Mar 2019 12:27:30 +0100 Subject: [PATCH] use application name + version tag for release. #214 --- config/initializers/bugsnag.rb | 8 -------- config/initializers/sentry.rb | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 config/initializers/bugsnag.rb diff --git a/config/initializers/bugsnag.rb b/config/initializers/bugsnag.rb deleted file mode 100644 index 34f650428..000000000 --- a/config/initializers/bugsnag.rb +++ /dev/null @@ -1,8 +0,0 @@ -# if ENV["BUGSNAG_KEY"] -# Bugsnag.configure do |config| -# config.api_key = ENV["BUGSNAG_KEY"] -# config.notify_release_stages = %w(stage production) -# config.app_version = Lupo::Application::VERSION -# config.auto_capture_sessions = true -# end -# end diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index 526d28d31..808ae365c 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -1,5 +1,5 @@ Raven.configure do |config| config.dsn = ENV["SENTRY_DSN"] - config.release = Lupo::Application::REVISION + config.release = "lupo:" + Lupo::Application::VERSION config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s) end \ No newline at end of file