Go back to generating BUILD

This commit is contained in:
Greg Hellings
2024-07-23 18:13:58 -05:00
parent 906666f836
commit 9652d54ee0
4 changed files with 8 additions and 2 deletions
+3
View File
@@ -154,6 +154,7 @@
name = "generate";
runtimeInputs = with pkgs; [
bash
coreutils
curl
jq
pup
@@ -163,6 +164,8 @@
for vars in distros/**/*.pkrvars.hcl.sh; do
bash "./''${vars}"
done
BUILD="$(date "+%Y.%m.%d.%H")"
echo "BUILD=$BUILD" >> build.env
'';
};
shellcheck = pkgs.writeShellApplication {