|
|
|
@ -218,24 +218,27 @@ def get_announcement_text(
@@ -218,24 +218,27 @@ def get_announcement_text(
|
|
|
|
|
change_msg = "The changes made:" |
|
|
|
|
|
|
|
|
|
if not build_version.endswith(TODAY): |
|
|
|
|
term = "build" |
|
|
|
|
dev_version = build_version.split(".")[-1] |
|
|
|
|
version_note = ( |
|
|
|
|
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: |
|
|
|
|
version_note = "This is an official release version." |
|
|
|
|
term = "version" |
|
|
|
|
version_note = f"This is an official release {term}." |
|
|
|
|
|
|
|
|
|
text = [ |
|
|
|
|
f"# New MBP Workbook Version {build_version}", |
|
|
|
|
f"# New MBP {group} {term.title()} {build_version}", |
|
|
|
|
"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, |
|
|
|
|
change_msg, |
|
|
|
|
"\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" {new_folder_name}" |
|
|
|
|
), |
|
|
|
|