diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-12-20 14:42:04 -0800 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-12-20 14:42:19 -0800 |
| commit | d3de22ce284638e6b5f3a1ac7a6522e684428d88 (patch) | |
| tree | 0287b476ad92ea858e29ee14c0850c1ec95865c2 /dist | |
| parent | 663205b5097506f5dc0ac5cd9aa32feb5aec8732 (diff) | |
ci: generate a correct sparkle version string for tagged releases
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/macos/update_appcast_tag.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dist/macos/update_appcast_tag.py b/dist/macos/update_appcast_tag.py index 86aa0bed0..edda6d7ca 100644 --- a/dist/macos/update_appcast_tag.py +++ b/dist/macos/update_appcast_tag.py @@ -79,21 +79,21 @@ elem.text = now.strftime(pubdate_format) elem = ET.SubElement(item, "sparkle:version") elem.text = build 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.text = "13.0.0" elem = ET.SubElement(item, "description") elem.text = f""" <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')}. +</p> +<p> We don't currently generate release notes for auto-updates. You can view the complete changelog and release notes on the <a href="https://ghostty.org">Ghostty website</a>. </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.set("url", f"https://release.files.ghostty.org/{version}/ghostty-macos-universal.zip") |
