Skip to content
Snippets Groups Projects
Commit 8bca26af authored by Jakub Ružička's avatar Jakub Ružička
Browse files

Merge branch 'render-dir-links' into 'master'

template: render dir symlinks

See merge request !90
parents f7690866 3c33c5fd
No related branches found
Tags v0.0.4
1 merge request!90template: render dir symlinks
Pipeline #92134 failed
......@@ -126,7 +126,7 @@ class PackageTemplate:
tvars = self.template_vars(tvars=tvars)
# recursively render all files
for d, _, files in shutil.walk(self.path):
for d, _, files in shutil.walk(self.path, followlinks=True):
rel_dir = Path(d).relative_to(self.path)
dst_dir = out_path / rel_dir
dst_dir.mkdir(parents=True, exist_ok=True)
......
# apkg news
## apkg 0.3.1
Released 2021-11-04
### Fixes
- follow symlinks when rendering templates
## apkg 0.3.0
Released 2021-11-03
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment