dist: remove cdata tags from appcast, we escape it all
parent
fefda69ac3
commit
692168f8dd
|
|
@ -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"""
|
||||
<![CDATA[<h1>Ghostty v{version}</h1>
|
||||
<h1>Ghostty v{version}</h1>
|
||||
<p>
|
||||
This release was built from commit <code><a href="{repo}/commits/{commit_long}">{commit}</a></code>
|
||||
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 <a href="https://ghostty.org/docs/install/release-notes/{version_dash}">ghostty.org/docs/install/release-notes/{version_dash}</a>.
|
||||
</p>]]>
|
||||
</p>
|
||||
"""
|
||||
elem = ET.SubElement(item, "enclosure")
|
||||
elem.set("url", f"https://release.files.ghostty.org/{version}/Ghostty.dmg")
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ elem = ET.SubElement(item, "sparkle:minimumSystemVersion")
|
|||
elem.text = "13.0.0"
|
||||
elem = ET.SubElement(item, "description")
|
||||
elem.text = f"""
|
||||
<![CDATA[<p>
|
||||
<p>
|
||||
Automated build from commit <code><a href="{repo}/commits/{commit_long}">{commit}</a></code>
|
||||
on {now.strftime('%Y-%m-%d')}.
|
||||
</p>
|
||||
|
|
@ -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 <a href="{repo}">on GitHub</a> for all changes.
|
||||
</p>]]>
|
||||
</p>
|
||||
"""
|
||||
elem = ET.SubElement(item, "enclosure")
|
||||
elem.set("url", f"https://tip.files.ghostty.org/{commit_long}/Ghostty.dmg")
|
||||
|
|
|
|||
Loading…
Reference in New Issue