Add more harness around nightly builds (#3562)

Part of
https://zed-industries.slack.com/archives/C05SJGT0M33/p1702039430077589
The nightly job managed to pass successfully (build & upload nightly),
logged a proper commit sha that got into latest_sha on the nightly
bucket — but Zed version in about was wrong.

* Log Zed build sha in release builds to ensure CI uses the right one
* make curl to return non-zero code for non-200 nightly file uploads

Release Notes:

- N/A
f67d4cea31Kirill Bulatov committed on 12/8/2023, 7:47:02 PM· committed by GitHubparents133b1a80dc02b8
2 files changedLine totals unavailable