
as API module's version code refactored into pyproject.toml file in refactor: define the Dify project version in pyproject.toml #20910, the deprecated CURRENT_VERSION is no longger used and should be removed.
15 lines
331 B
Python
15 lines
331 B
Python
from pydantic import Field
|
|
|
|
from configs.packaging.pyproject import PyProjectConfig, PyProjectTomlConfig
|
|
|
|
|
|
class PackagingInfo(PyProjectTomlConfig):
|
|
"""
|
|
Packaging build information
|
|
"""
|
|
|
|
COMMIT_SHA: str = Field(
|
|
description="SHA-1 checksum of the git commit used to build the app",
|
|
default="",
|
|
)
|