TEMPLATES_REF applies to updates

This commit is contained in:
hh
2026-09-08 20:41:37 +02:00
parent c31f0b241f
commit 79cb646dd3
+1 -1
View File
@@ -98,7 +98,7 @@ def update(args: argparse.Namespace) -> None:
sys.exit("no .copier/*.yml here") sys.exit("no .copier/*.yml here")
for file in answers: for file in answers:
run_update(".", answers_file=str(file), unsafe=True, overwrite=True, run_update(".", answers_file=str(file), unsafe=True, overwrite=True,
skip_answered=not args.ask, defaults=args.defaults) skip_answered=not args.ask, defaults=args.defaults, vcs_ref=REF)
def main() -> None: def main() -> None: