更新
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import json
|
||||
from pathlib import Path
|
||||
archive=Path('/tmp/xingyu-home-two-tabs-layout-20260902-092144.zip')
|
||||
entry=Path('/www/wwwroot/im.bchongw.com/app')
|
||||
expected=Path('/www/wwwroot/xingyu-h5/releases/20260902-092639')
|
||||
assert entry.resolve()==expected
|
||||
if archive.exists(): archive.unlink()
|
||||
print(json.dumps({'h5Release':str(entry.resolve()),'temporaryArchiveExists':archive.exists()}))
|
||||
Reference in New Issue
Block a user