mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
ci: generate a correct sparkle version string for tagged releases
This commit is contained in:
10
dist/macos/update_appcast_tag.py
vendored
10
dist/macos/update_appcast_tag.py
vendored
@ -79,21 +79,21 @@ elem.text = now.strftime(pubdate_format)
|
|||||||
elem = ET.SubElement(item, "sparkle:version")
|
elem = ET.SubElement(item, "sparkle:version")
|
||||||
elem.text = build
|
elem.text = build
|
||||||
elem = ET.SubElement(item, "sparkle:shortVersionString")
|
elem = ET.SubElement(item, "sparkle:shortVersionString")
|
||||||
elem.text = f"{commit} ({now.strftime('%Y-%m-%d')})"
|
elem.text = f"{version}"
|
||||||
elem = ET.SubElement(item, "sparkle:minimumSystemVersion")
|
elem = ET.SubElement(item, "sparkle:minimumSystemVersion")
|
||||||
elem.text = "13.0.0"
|
elem.text = "13.0.0"
|
||||||
elem = ET.SubElement(item, "description")
|
elem = ET.SubElement(item, "description")
|
||||||
elem.text = f"""
|
elem.text = f"""
|
||||||
<h1>Ghostty v{version}</h1>
|
<h1>Ghostty v{version}</h1>
|
||||||
<p>
|
<p>
|
||||||
|
This release was built from commit <code><a href="{repo}/commits/{commit_long}">{commit}</a></code>
|
||||||
|
on {now.strftime('%Y-%m-%d')}.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
We don't currently generate release notes for auto-updates.
|
We don't currently generate release notes for auto-updates.
|
||||||
You can view the complete changelog and release notes on
|
You can view the complete changelog and release notes on
|
||||||
the <a href="https://ghostty.org">Ghostty website</a>.
|
the <a href="https://ghostty.org">Ghostty website</a>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
|
||||||
This release was built from commit <code><a href="{repo}/commits/{commit_long}">{commit}</a></code>
|
|
||||||
on {now.strftime('%Y-%m-%d')}.
|
|
||||||
</p>
|
|
||||||
"""
|
"""
|
||||||
elem = ET.SubElement(item, "enclosure")
|
elem = ET.SubElement(item, "enclosure")
|
||||||
elem.set("url", f"https://release.files.ghostty.org/{version}/ghostty-macos-universal.zip")
|
elem.set("url", f"https://release.files.ghostty.org/{version}/ghostty-macos-universal.zip")
|
||||||
|
Reference in New Issue
Block a user