build(release): enforce neutral runtime layout
Keep release files at the archive root and reject product-named directory components before CI packages artifacts. Use neutral directories for media staging, WebUI uploads, stream storage, and MCP downloads so packaged and runtime layouts remain consistent.
This commit is contained in:
11 files changed
+53
-8
No files matched your search
@@ -51,6 +51,10 @@ describe('safeUploadName', () => {
|
||||
});
|
||||
|
||||
describe('uploadDestPath', () => {
|
||||
it('uses a neutral temporary directory name', () => {
|
||||
expect(path.basename(DEBUG_UPLOAD_DIR)).toBe('webui-upload');
|
||||
});
|
||||
|
||||
it('produces a unique path inside the upload dir', () => {
|
||||
const a = uploadDestPath('pic.png');
|
||||
const b = uploadDestPath('pic.png');
|
||||
|
||||
Reference in new issue
Block a user