Skip to content

Commit

Permalink
Use APP_ENV for bugsnag release stage (#1001)
Browse files Browse the repository at this point in the history
* Use APP_ENV for bugsnag release stage

* update browser tools
  • Loading branch information
ajkiessl authored Aug 27, 2024
1 parent 4bf0b6a commit 51b1a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ orbs:
docker: circleci/[email protected]
ruby: circleci/[email protected]
node: circleci/node@2
browser-tools: circleci/[email protected].4
browser-tools: circleci/[email protected].8

jobs:
release:
Expand Down Expand Up @@ -90,8 +90,7 @@ jobs:
# A series of steps to run, some are similar to those in "build".
steps:
- run: sudo apt-get update
- browser-tools/install-chrome:
chrome-version: 116.0.5845.96
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- checkout
- ruby/install-deps
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

Bugsnag.configure do |config|
config.app_version = ENV.fetch('APP_VERSION', nil)
config.release_stage = ENV.fetch('BUGSNAG_RELEASE_STAGE', 'development')
config.release_stage = ENV.fetch('APP_ENV', 'development')
end

0 comments on commit 51b1a5d

Please sign in to comment.