diff options
| author | Jon Parise <jon@indelible.org> | 2024-03-05 10:30:15 -0800 |
|---|---|---|
| committer | Jon Parise <jon@indelible.org> | 2024-03-05 10:32:34 -0800 |
| commit | ca78d197d8392322a222c054ea0d0e22df48c067 (patch) | |
| tree | 18237e30ea1d4ccf6e10f9eedf5e02a4c0fa9ba9 /dist | |
| parent | 42f77bd985c764c4dd02fc209c83417b21ffee13 (diff) | |
dist/macos: link the commit to GitHub's history view
This makes it easy to see the build in context of the repo's commit
history.
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/macos/update_appcast_tip.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dist/macos/update_appcast_tip.py b/dist/macos/update_appcast_tip.py index 7b73cd410..6497b8133 100644 --- a/dist/macos/update_appcast_tip.py +++ b/dist/macos/update_appcast_tip.py @@ -22,6 +22,7 @@ from datetime import datetime, timezone now = datetime.now(timezone.utc) build = os.environ["GHOSTTY_BUILD"] commit = os.environ["GHOSTTY_COMMIT"] +repo = "https://github.com/mitchellh/ghostty" # Read our sign_update output with open("sign_update.txt", "r") as f: @@ -81,12 +82,14 @@ elem = ET.SubElement(item, "sparkle:minimumSystemVersion") elem.text = "12.0.0" elem = ET.SubElement(item, "description") elem.text = f""" -<p>Automated build from commit <code>{commit}</code> on {now.strftime('%Y-%m-%d')}.</p> +<p> +Automated build from commit <code><a href="{repo}/commits/{commit}">{commit}</a></code> +on {now.strftime('%Y-%m-%d')}. +</p> <p> 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="https://github.com/mitchellh/ghostty">on GitHub</a> for all changes. +commit history <a href="{repo}">on GitHub</a> for all changes. </p> """ elem = ET.SubElement(item, "enclosure") |
