mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
This commit is contained in:
parent
484a61bdc1
commit
d29b18da8c
10 changed files with 53 additions and 16 deletions
|
|
@ -46,7 +46,7 @@ def replace_line(content: str, pattern: re.Pattern, new_value: str) -> str:
|
|||
|
||||
|
||||
def write_package_meta(api_version: str) -> None:
|
||||
path = Path.cwd() / "aiogram" / "__init__.py"
|
||||
path = Path.cwd() / "aiogram" / "__meta__.py"
|
||||
content = path.read_text()
|
||||
|
||||
content = replace_line(content, API_VERSION, api_version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue