refactor: define the Dify project version in pyproject.toml (#20910)

This commit is contained in:
Bowen Liang 2025-07-01 12:07:24 +08:00 committed by GitHub
commit 1a7ad195f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 77 additions and 15 deletions

View file

@ -18,7 +18,7 @@ class VersionApi(Resource):
check_update_url = dify_config.CHECK_UPDATE_URL
result = {
"version": dify_config.CURRENT_VERSION,
"version": dify_config.project.version,
"release_date": "",
"release_notes": "",
"can_auto_update": False,