|
|
@ -218,24 +218,27 @@ def get_announcement_text( |
|
|
|
change_msg = "The changes made:" |
|
|
|
change_msg = "The changes made:" |
|
|
|
|
|
|
|
|
|
|
|
if not build_version.endswith(TODAY): |
|
|
|
if not build_version.endswith(TODAY): |
|
|
|
|
|
|
|
term = "build" |
|
|
|
dev_version = build_version.split(".")[-1] |
|
|
|
dev_version = build_version.split(".")[-1] |
|
|
|
version_note = ( |
|
|
|
version_note = ( |
|
|
|
f"As indicated by the letter '{dev_version}' at the end," |
|
|
|
f"As indicated by the letter '{dev_version}' at the end," |
|
|
|
" this version is intended for Freiburg only." |
|
|
|
f" this {term} is intended for Freiburg only." |
|
|
|
) |
|
|
|
) |
|
|
|
else: |
|
|
|
else: |
|
|
|
version_note = "This is an official release version." |
|
|
|
term = "version" |
|
|
|
|
|
|
|
version_note = f"This is an official release {term}." |
|
|
|
|
|
|
|
|
|
|
|
text = [ |
|
|
|
text = [ |
|
|
|
f"# New MBP Workbook Version {build_version}", |
|
|
|
f"# New MBP {group} {term.title()} {build_version}", |
|
|
|
"Good News Everyone,", |
|
|
|
"Good News Everyone,", |
|
|
|
f"there is a new MBP workbook version available: {build_version}", |
|
|
|
f"there is a new MBP {group} {term} available: {build_version}", |
|
|
|
version_note, |
|
|
|
version_note, |
|
|
|
change_msg, |
|
|
|
change_msg, |
|
|
|
"\n".join(changes), |
|
|
|
"\n".join(changes), |
|
|
|
"You can find this version at our Freiburg Shared Drive:", |
|
|
|
f"You can find this {term} at our Freiburg Shared Drive:", |
|
|
|
( |
|
|
|
( |
|
|
|
"Google Drive / Shared drives / Freiburg / Workbooks / MBP Workbooks /" |
|
|
|
"Google Drive / Shared drives / Freiburg / Workbooks /" |
|
|
|
|
|
|
|
f" MBP Workbooks {group} /" |
|
|
|
f" {latest} /" |
|
|
|
f" {latest} /" |
|
|
|
f" {new_folder_name}" |
|
|
|
f" {new_folder_name}" |
|
|
|
), |
|
|
|
), |
|
|
|