[Release] Test release

This commit is contained in:
object-Object 2023-08-31 03:48:03 -04:00
parent 3336dda406
commit a607428d1d

View file

@ -46,7 +46,7 @@ def main():
if args.release: if args.release:
# remove current latest-released book in the destination # remove current latest-released book in the destination
for path in args.dest.iterdir(): for path in args.dest.iterdir():
if path.name not in ["v", "meta", "dist", ".git"]: if path.name not in ["v", "meta"]:
shutil.rmtree(path) shutil.rmtree(path)
new_sitemap = defaultdict[str, dict[str, str]](dict) new_sitemap = defaultdict[str, dict[str, str]](dict)