fix: add sdist build artifact path to allow dashboard artifact to be included

This commit is contained in:
Soulter
2026-06-21 14:06:31 +08:00
parent 42ca89d6c8
commit ea159cbe79

View File

@@ -121,6 +121,9 @@ exclude = ["dashboard", "node_modules", "dist", "data", "tests"]
allow-direct-references = true
# Include bundled dashboard dist even though it is not tracked by VCS.
[tool.hatch.build.targets.sdist]
artifacts = ["astrbot/dashboard/dist/**"]
[tool.hatch.build.targets.wheel]
artifacts = ["astrbot/dashboard/dist/**"]