File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 12
12
from sentry_sdk .integrations .fastapi import FastApiIntegration
13
13
from sentry_sdk .integrations .starlette import StarletteIntegration
14
14
15
- from jbi .environment import get_settings
15
+ from jbi .environment import get_settings , get_version
16
16
from jbi .log import format_request_summary_fields
17
17
from jbi .router import router
18
18
19
19
SRC_DIR = Path (__file__ ).parent
20
20
21
21
settings = get_settings ()
22
+ version_info = get_version ()
22
23
23
24
sentry_sdk .init (
24
25
dsn = settings .sentry_dsn ,
33
34
app = FastAPI (
34
35
title = "Jira Bugzilla Integration (JBI)" ,
35
36
description = "JBI v2 Platform" ,
36
- version = "3.3.2" ,
37
+ version = version_info [ "version" ] ,
37
38
debug = settings .app_debug ,
38
39
)
39
40
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " jira-bugzilla-integration"
3
- version = " 3.3.2 "
3
+ version = " 0 "
4
4
description = " jira-bugzilla-integration"
5
5
authors = [" @mozilla/jbi-core" ]
6
6
license = " MPL"
Original file line number Diff line number Diff line change 1
1
{
2
2
"commit" : " HEAD" ,
3
- "version" : null ,
3
+ "version" : " v0.0.0 " ,
4
4
"image_tag" : null ,
5
5
"source" : " https://github.com/mozilla/jira-bugzilla-integration" ,
6
6
"build" : null
You can’t perform that action at this time.
0 commit comments