update CI script

This commit is contained in:
longpanda
2021-01-29 14:26:02 +08:00
parent 715f410832
commit b1ad99cde0
3 changed files with 6 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ cd $VTOY_PATH/INSTALL
if [ "$1" = "CI" ]; then
Ver=$(date +%m%d%H%M)
sed "s/VENTOY_VERSION=.*/VENTOY_VERSION=$Ver/" -i ./grub/grub.cfg
sed "s/VENTOY_VERSION=.*/VENTOY_VERSION=\"$Ver\"/" -i ./grub/grub.cfg
fi
sh ventoy_pack.sh || exit 1