chore: auto release commit (2026-09-14 16:39:56)

This commit is contained in:
2026-09-14 16:39:56 +08:00
parent 1d20cfa708
commit cc6769db3c
5 changed files with 419 additions and 2 deletions

View File

@@ -7,6 +7,12 @@ from pathlib import Path
# 占位:开发者后续接入 jiangchang_skill_core
# from jiangchang_skill_core import ...
# 兜底:util/constants 不可导入时使用当前发布版本
try:
from util.constants import SKILL_VERSION
except Exception: # pragma: no cover
SKILL_VERSION = "1.0.2"
BASE_DIR = Path(__file__).resolve().parent.parent
@@ -19,7 +25,7 @@ def health():
def version():
"""查看版本(占位)。"""
print("analyze-grade-distribution-aa v1.0.1")
print(f"analyze-grade-distribution-aa v{SKILL_VERSION}")
return 0