Files
oak-gpui/crates
Max Brunsfeld b3e1514b00 Avoid caching zed build script if git state has changed (#3610)
@as-cii and @SomeoneToIgnore noticed a bug where Zed nightly would
continuously report that an update was available. This nightly
auto-update logic depends on the `ZED_COMMIT_SHA` constant, which is
compiled into the app via an rustc environment variable that is assigned
in the `zed2` build script.

I think the bug was caused by the `zed2` build script's output being
cached on our CI, when building the nightly app bundle. The result was
that the `publish-nightly` action updated the "current SHA" for nightly,
but uploaded an artifact whose `ZED_COMMIT_SHA` was cached from an
earlier version.

I've added a line to the `build.rs` that triggers a rerun if the
`.git/logs/HEAD` file has been changed. I think this should prevent the
unwanted caching.
2023-12-12 10:27:57 -08:00
..
2023-11-14 08:28:57 -05:00
WIP
2023-12-05 19:27:15 +01:00
2023-11-02 10:55:02 -07:00
2023-11-17 12:54:16 -08:00
…
2023-12-08 12:48:02 -05:00
2023-12-05 14:57:20 +01:00
2023-12-04 23:35:31 +00:00
2023-11-02 10:55:02 -07:00
2023-12-11 12:28:22 +02:00
…
2023-11-03 12:15:23 -04:00
…
2023-11-02 19:18:01 -06:00
2023-11-14 00:06:33 -08:00
2023-11-18 10:46:35 -08:00
2023-11-30 13:07:47 +02:00
…
2023-11-08 21:23:31 -08:00
2023-12-11 14:21:21 -07:00
2023-11-29 11:52:26 +02:00
2023-12-12 13:50:23 +02:00
2023-12-12 13:34:46 +02:00
2023-12-12 13:50:23 +02:00
2023-12-11 12:28:22 +02:00
2023-12-11 12:28:22 +02:00
2023-12-11 09:38:23 -07:00
WIP
2023-11-16 10:40:02 +02:00
2023-11-03 14:53:08 +01:00
2023-11-03 12:15:23 -04:00
2023-12-07 17:16:19 -08:00
2023-12-11 11:40:54 -07:00
2023-12-11 16:12:17 -07:00
2023-10-23 11:06:58 +02:00
2023-12-06 14:29:09 -08:00
2023-12-11 11:00:55 -07:00
2023-10-28 11:37:25 -04:00