daml/ci/cron
Gary Verhaegen 66f4b243f4
docs: fix top-level update (#14338)
There were two issues:

1. The `Directory.listFilesRecursive` function returns paths that
   include its first argument, so there was never any overlap between
   the sets.
2. That full path doesn't exist on AWS, and was given to AWS because
   `s3Path opts f` returns just `f` if it starts with `/`.

This means that, on the one hand, the script tried to delete
_everything_ from the top-level, which is a bit bad, but, on the other
hand, the script did not actually manage to delete anything at all,
which is basically the status quo.

Note that deleting everything isn't _that_ bad as we reupload right
after and we have a cache in front on the site, so this would only
impact users if they were the first to try and view a given page in that
small time window between deletion and reupload.

This PR should fix both issues by removing the version-specific prefix.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-04 21:27:36 +02:00
..
src docs: fix top-level update (#14338) 2022-07-04 21:27:36 +02:00
BUILD.bazel Upgrade to GHC 9.0.2 (#12300) 2022-02-01 11:27:11 +01:00
daily-compat.yml cron: faster check_releases (hopefully) (#14209) 2022-06-17 17:56:51 +02:00
tuesday.yml add release instructions to release notification (#13160) 2022-03-04 11:33:15 +00:00
wednesday.yml ci/cron: fix Wednesday (#14297) 2022-06-29 17:57:55 +02:00