feature: Adds VM creation support to upload.sh

This commit is contained in:
greysoh 2024-07-13 22:31:01 -04:00
parent 7ac7eee0e0
commit bbb2084ba7
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
3 changed files with 48 additions and 19 deletions

View file

@ -7,9 +7,11 @@ if [ ! -d "out/" ]; then
fi
echo "Copying file to the output directory..."
# Hack!
# TODO: Fix this mess later
mkdir -p out/$1
rm -rf out/$1 out/$1.vma.zst
OUT_FILE="$(sed -n '$p' build.log)"
cp -r $OUT_FILE out/$1.vma.zst