From ea159cbe79759169e7bf9e3d36bb7a9836875bd4 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 21 Jun 2026 14:06:31 +0800 Subject: [PATCH] fix: add sdist build artifact path to allow dashboard artifact to be included --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 851be3da1..7b73bb7aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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/**"]