Skip to content

Commit

Permalink
Update pkg-repo.py following github.com/typst/packages changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Leedehai committed Sep 13, 2023
1 parent 5d0dc5d commit f60ad38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg-repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def copy_file(dest, file):

def copy_files(args):
# https://github.com/typst/packages/tree/main#submission-guidelines
physica_dir = Path(args.repo_dir, 'packages', 'preview', f'physica-{args.version}')
physica_dir = Path(
args.repo_dir, 'packages', 'preview', 'physica', f'{args.version}')
os.makedirs(physica_dir, exist_ok = False)
print(f"Destination: {physica_dir}")
for file in FILES:
Expand Down

0 comments on commit f60ad38

Please sign in to comment.