Skip to content

Commit

Permalink
add image version
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsx committed Jun 23, 2024
1 parent 1262812 commit 1eeefde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,9 @@ else
fi
sudo bash ../scripts/pack.sh -t ${TYPE} -v ${VERSION}

AVA_VERSION=$(cat ../VERSION)
if [ -f sdcard.img.xz ];then
mv sdcard.img.xz AvaotaOS-${VERSION}-${TYPE}-${ARCH}-${BOARD}.img.xz
mv sdcard.img.xz AvaotaOS-${AVA_VERSION}-${VERSION}-${TYPE}-${ARCH}-${BOARD}.img.xz
echo "build success."
else
echo "sdcard.img.xz not found, build sdcard image failed!"
Expand Down

0 comments on commit 1eeefde

Please sign in to comment.