Skip to content

Commit

Permalink
fix: add VERSION to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
terovirtanen committed Mar 28, 2024
1 parent b865571 commit 4b35343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open_city_profile/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
env.read_env(env_file)

COMMIT_HASH = env.str("OPENSHIFT_BUILD_COMMIT", "")

VERSION = __version__
sentry_sdk.init(
dsn=env.str("SENTRY_DSN", ""),
release=env.str("OPENSHIFT_BUILD_COMMIT", __version__),
release=env.str("OPENSHIFT_BUILD_COMMIT", VERSION),
environment=env.str("SENTRY_ENVIRONMENT", "development"),
integrations=[DjangoIntegration()],
)
Expand Down

0 comments on commit 4b35343

Please sign in to comment.