Check same SHA first for up-to-date; run build-test then push

- Updater: treat same SHA as up to date before comparing timestamps so
  local install matches remote after push.
- Release artifacts from build-test.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leopere 2026-02-08 16:07:38 -05:00
parent 65114fc265
commit 8dbb0a380a
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
3 changed files with 4 additions and 4 deletions

View File

@ -44,12 +44,12 @@ enum AutoUpdater {
return return
} }
let localTimestamp = local?.timestamp ?? 0 if remote.sha == local?.sha {
if remote.timestamp <= localTimestamp {
if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") } if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") }
return return
} }
if remote.sha == local?.sha { let localTimestamp = local?.timestamp ?? 0
if remote.timestamp <= localTimestamp {
if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") } if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") }
return return
} }

Binary file not shown.

View File

@ -1 +1 @@
1030ff4f33acbe9694bb9260bde5b1871e9ad42af3c7813f7ac99164f2335c2e 497cb5d743bf2eb344b1195304fa68757d065131de7239b9ef148b596a199b16