From f00bbe645149960fd5b80797631e3d4b9fd3a4a7 Mon Sep 17 00:00:00 2001 From: sjanusz-r7 Date: Thu, 23 Apr 2026 12:06:09 +0100 Subject: [PATCH] Update payload cached sizes when creating new module metadata cache --- tools/automation/cache/build_new_cache.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/automation/cache/build_new_cache.sh b/tools/automation/cache/build_new_cache.sh index e8c096b659..2dc67982ba 100755 --- a/tools/automation/cache/build_new_cache.sh +++ b/tools/automation/cache/build_new_cache.sh @@ -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