change hardcoded version (#412)

Co-authored-by: Waket Zheng <waketzheng@gmail.com>
This commit is contained in:
Abdeldjalil Hezouat 2025-02-07 12:50:41 +01:00 committed by GitHub
parent b46ceafb2e
commit d6b35ab0ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -10,8 +10,12 @@
#### Fixed
- fix: inspectdb raise KeyError 'int2' for smallint. ([#401])
### Changed
- Refactored version management to use `importlib.metadata.version(__package__)` instead of hardcoded version string ([#412])
[#398]: https://github.com/tortoise/aerich/pull/398
[#401]: https://github.com/tortoise/aerich/pull/401
[#412]: https://github.com/tortoise/aerich/pull/412
### [0.8.1](../../releases/tag/v0.8.1) - 2024-12-27

View File

@ -1 +1,3 @@
__version__ = "0.8.0"
from importlib.metadata import version
__version__ = version(__package__)