refactor: define the Dify project version in pyproject.toml (#20910)
This commit is contained in:
parent
cf2173644e
commit
1a7ad195f0
13 changed files with 77 additions and 15 deletions
|
|
@ -35,6 +35,6 @@ def init_app(app: DifyApp):
|
|||
traces_sample_rate=dify_config.SENTRY_TRACES_SAMPLE_RATE,
|
||||
profiles_sample_rate=dify_config.SENTRY_PROFILES_SAMPLE_RATE,
|
||||
environment=dify_config.DEPLOY_ENV,
|
||||
release=f"dify-{dify_config.CURRENT_VERSION}-{dify_config.COMMIT_SHA}",
|
||||
release=f"dify-{dify_config.project.version}-{dify_config.COMMIT_SHA}",
|
||||
before_send=before_send,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue