@ -26,7 +26,13 @@ else
fi
UI_TYPE=$(echo $FLAVOR | cut -f1 -d-)
IMAGE_TYPE=$(echo $FLAVOR | cut -f2 -d-)
IMAGE_TYPE=${FLAVOR#*-}
if [ "$IMAGE_TYPE" = "$FLAVOR" ]; then
IMAGE_TYPE="live"
echo "Using default image type: $IMAGE_TYPE"
else
echo "Using image type: $IMAGE_TYPE"
CURRENT_DATE=$(date +%Y%m%d)