Skip to content

Commit 248911c

Browse files
committed
Add same change as in #3088
1 parent 14cad0d commit 248911c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/verify-release/verify-release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,9 @@ log_part_end
470470

471471
log_part_start "Comparing helm chart artifacts"
472472
mkdir -p "${helm_work_dir}/local" "${helm_work_dir}/staged"
473+
# Prerequisite for reproducible helm packages: file modification time must be deterministic
474+
# Works with helm since version 4.0.0
475+
exec_process find "${worktree_dir}/helm/polaris" -exec touch -d "1980-01-01 00:00:00" {} +
473476
proc_exec "Helm packaging failed" helm package --destination "${helm_work_dir}" "${worktree_dir}/helm/polaris"
474477
helm_package_file="polaris-${version_full}.tgz"
475478
tar --warning=no-timestamp -xf "${helm_dir}/${helm_package_file}" --directory "${helm_work_dir}/staged" || true

0 commit comments

Comments
 (0)