about summary refs log tree commit diff stats
path: root/build/awk
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 12:31:16 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 12:31:16 +0200
commit1cb8504a4dfcf5977411267c80d4ee62a180c2d6 (patch)
tree69c696740bdc1a8c6b9c205ec0d3c2c47cd2e32b /build/awk
parentfix(templates/latex/academia/main.tex): Default to `draft` mode (diff)
downloadflake-templates-1cb8504a4dfcf5977411267c80d4ee62a180c2d6.tar.gz
flake-templates-1cb8504a4dfcf5977411267c80d4ee62a180c2d6.zip
chore(build): Regenerate
Diffstat (limited to 'build/awk')
-rw-r--r--build/awk/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/awk/init b/build/awk/init
index 9ee0462..e8f72c8 100644
--- a/build/awk/init
+++ b/build/awk/init
@@ -182,6 +182,8 @@ reuse="$(nix build nixpkgs#reuse.out --no-link --print-out-paths)/bin/reuse"
 
 git add .
 
+cp "$replacement_file" ".git/init_variables_$(date --iso-8601=date)"
+
 git diff --name-only --cached |
     xargs -I {} "$reuse" annotate \
         --copyright "$AUTHOR_NAME <$AUTHOR_EMAIL>" \