From 692168f8dda6c05561744d978e3a7ed45adc56a8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 29 Jan 2025 15:08:20 -0800 Subject: [PATCH] dist: remove cdata tags from appcast, we escape it all --- dist/macos/update_appcast_tag.py | 4 ++-- dist/macos/update_appcast_tip.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/macos/update_appcast_tag.py b/dist/macos/update_appcast_tag.py index 6abfb66db..2cb20dd5d 100644 --- a/dist/macos/update_appcast_tag.py +++ b/dist/macos/update_appcast_tag.py @@ -87,7 +87,7 @@ 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')}. @@ -96,7 +96,7 @@ 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 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 c6a20f75f..ff1fb4be5 100644 --- a/dist/macos/update_appcast_tip.py +++ b/dist/macos/update_appcast_tip.py @@ -83,7 +83,7 @@ elem = ET.SubElement(item, "sparkle:minimumSystemVersion") 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 @@ 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 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")