MO: Update reminder message for master (#8451)

This commit is contained in:
Andrei Kochin 2021-11-11 14:15:45 +03:00 committed by GitHub
parent 0017ec71fd
commit 9d42aa22b6
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(): def get_ov_update_message():
expected_update_date = datetime.date(year=2021, month=10, day=15) expected_update_date = datetime.date(year=2022, month=2, day=15)
current_date = datetime.date.today() 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-4-LTS&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_2022_bu_IOTG_OpenVINO-2022-1&content=upg_all&medium=organic'
return msg_fmt.format(link) if current_date >= expected_update_date else None return msg_fmt.format(link) if current_date >= expected_update_date else None