mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
fix: add sdist build artifact path to allow dashboard artifact to be included
This commit is contained in:
@@ -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/**"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user