Upgrade message for 2021.4 lts (#5471)

This commit is contained in:
Anastasia Kazantaeva 2021-05-11 15:58:32 +03:00 committed by GitHub
parent d11c5e4c9d
commit 42226fccae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,9 @@ msg_fmt = 'It\'s been a while, check for a new version of ' + \
def get_ov_update_message():
expected_update_date = datetime.date(year=2021, month=7, day=1)
expected_update_date = datetime.date(year=2021, month=12, day=15)
current_date = datetime.date.today()
link = 'https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&source=prod&campid=ww_2021_bu_IOTG_OpenVINO-2021-3&content=upg_all&medium=organic'
link = 'https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&source=prod&campid=ww_2021_bu_IOTG_OpenVINO-2021-4-LTS&content=upg_all&medium=organic'
return msg_fmt.format(link) if current_date >= expected_update_date else None