Merge pull request #21364 from sjanusz-r7/update-payload-cached-sizes-on-new-metadata-cache

Update payload cached sizes when creating new module metadata cache
This commit is contained in:
adfoster-r7
2026-04-24 11:15:55 +01:00
committed by GitHub
+3 -1
View File
@@ -1,5 +1,7 @@
#!/bin/sh -ex
#!/bin/bash -exu
set -o pipefail
bundle install
bundle exec ruby tools/modules/update_payload_cached_sizes.rb
rm -f db/modules_metadata_base.json
git ls-files modules/ -z | xargs -0 -n1 -P `nproc` -I{} -- git log -1 --format="%ai {}" {} | while read -r udate utime utz ufile ; do
touch -d "$udate $utime" $ufile