Update payload cached sizes when creating new module metadata cache

This commit is contained in:
sjanusz-r7
2026-04-23 12:06:09 +01:00
parent f1778187b8
commit f00bbe6451
+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