From 19ca893e106310c6fde152535f04f321de4472b4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 21 Dec 2023 08:45:24 -0800 Subject: [PATCH] dist/macos: put the date in the short version string --- dist/macos/update_appcast_tip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/macos/update_appcast_tip.py b/dist/macos/update_appcast_tip.py index 893dc7c18..d4d639180 100644 --- a/dist/macos/update_appcast_tip.py +++ b/dist/macos/update_appcast_tip.py @@ -62,12 +62,12 @@ elem.text = now.strftime("%a, %d %b %Y %H:%M:%S %z") elem = ET.SubElement(item, "sparkle:version") elem.text = build elem = ET.SubElement(item, "sparkle:shortVersionString") -elem.text = commit +elem.text = f"{commit} ({now.strftime('%Y-%m-%d')})" elem = ET.SubElement(item, "sparkle:minimumSystemVersion") elem.text = "12.0.0" elem = ET.SubElement(item, "description") elem.text = f""" -

Automated build from commit {commit}.

+

Automated build from commit {commit} on {now.strftime('%Y-%m-%d')}.

These are automatic per-commit builds generated from the main Git branch. We do not generate any release notes for these builds. You can view the full