diff --git a/dist/macos/update_appcast_tag.py b/dist/macos/update_appcast_tag.py index 4ef526019d..6abfb66dbd 100644 --- a/dist/macos/update_appcast_tag.py +++ b/dist/macos/update_appcast_tag.py @@ -21,6 +21,7 @@ now = datetime.now(timezone.utc) version = os.environ["GHOSTTY_VERSION"] +version_dash = version.replace('.', '-') build = os.environ["GHOSTTY_BUILD"] commit = os.environ["GHOSTTY_COMMIT"] commit_long = os.environ["GHOSTTY_COMMIT_LONG"] @@ -82,18 +83,20 @@ elem.text = f"{version}" elem = ET.SubElement(item, "sparkle:minimumSystemVersion") elem.text = "13.0.0" +elem = ET.SubElement(item, "sparkle:fullReleaseNotesLink") +elem.text = f"https://ghostty.org/docs/install/release-notes/{version_dash}" elem = ET.SubElement(item, "description") elem.text = f""" -

Ghostty v{version}

+Ghostty v{version}

This release was built from commit {commit} on {now.strftime('%Y-%m-%d')}.

We don't currently generate release notes for auto-updates. -You can view the complete changelog and release notes on -the Ghostty website. -

+You can view the complete changelog and release notes +at ghostty.org/docs/install/release-notes/{version_dash}. +

]]> """ elem = ET.SubElement(item, "enclosure") elem.set("url", f"https://release.files.ghostty.org/{version}/Ghostty.dmg") diff --git a/dist/macos/update_appcast_tip.py b/dist/macos/update_appcast_tip.py index ff1fb4be5d..c6a20f75f8 100644 --- a/dist/macos/update_appcast_tip.py +++ b/dist/macos/update_appcast_tip.py @@ -83,7 +83,7 @@ elem.text = "13.0.0" elem = ET.SubElement(item, "description") elem.text = f""" -

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

@@ -91,7 +91,7 @@ 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 commit history on GitHub for all changes. -

+

]]> """ elem = ET.SubElement(item, "enclosure") elem.set("url", f"https://tip.files.ghostty.org/{commit_long}/Ghostty.dmg")