From aece3bc83019bf89ef2d613405f96946a0daf316 Mon Sep 17 00:00:00 2001 From: LimePotato Date: Tue, 8 Aug 2023 03:06:00 -0600 Subject: [PATCH] tweak script --- archiso/build-image.sh | 6 +++++- archiso/releng/airootfs/version | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/archiso/build-image.sh b/archiso/build-image.sh index 580842d..b302d75 100755 --- a/archiso/build-image.sh +++ b/archiso/build-image.sh @@ -1,4 +1,8 @@ #!/bin/bash TIME=$(date +%Y%m%d%H%M) -sed -i "1s/.*/${TIME}/" ./archiso/releng/airootfs/version +DAY=$(date +%d) +MONTH=$(date +%m) +YEAR=$(date +%Y) +sed -i "1s/.*/${TIME}/" ./releng/airootfs/version +sudo mkarchiso -v -r -w ./output/work -o ./output/ releng/ sudo mkarchiso -v -r -w ./output/work -o ./output/ releng/ \ No newline at end of file diff --git a/archiso/releng/airootfs/version b/archiso/releng/airootfs/version index d8204e0..d0c9302 100644 --- a/archiso/releng/airootfs/version +++ b/archiso/releng/airootfs/version @@ -1 +1 @@ -20230808 +202308080250