Open dsherret opened 2 months ago
I'm not sure the description here is correct - we should still upload the binary for particular canary to a proper directory but not update files like https://dl.deno.land/canary-aarch64-apple-darwin-latest.txt
.
Is that what you meant @dsherret?
This is done unconditionally:
Sequence of events:
Now canary is on Commit A rather than Commit B.
Changes reverted in https://github.com/denoland/deno/pull/25733 because CI is consistently failing with exit code 1 after a successful upload.
It's currently possible for a CI run of an older commit than canary to finish later and overwrite the newer canary version.
We should update the canary upload to get the current canary commit and only upload if that commit is in its git history.