From 4b35343698b88b28562e8fb5ede7ae6016378d4b Mon Sep 17 00:00:00 2001 From: Tero Virtanen Date: Thu, 28 Mar 2024 12:09:21 +0200 Subject: [PATCH] fix: add VERSION to settings --- open_city_profile/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open_city_profile/settings.py b/open_city_profile/settings.py index 534f4202..edac303f 100644 --- a/open_city_profile/settings.py +++ b/open_city_profile/settings.py @@ -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()], )