From 7f4394590e0383f84656f86e9707e6a7b1e2e22d Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 17 Jul 2021 08:34:08 -0400 Subject: [PATCH] Update publish_binaries.yml Ensure the date format is the same as we use on the binaries page. --- .github/workflows/publish_binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_binaries.yml b/.github/workflows/publish_binaries.yml index 73ef8d0..96c15a2 100644 --- a/.github/workflows/publish_binaries.yml +++ b/.github/workflows/publish_binaries.yml @@ -154,7 +154,7 @@ jobs: touch "${manifest}" for filename in *.*[^sha256]; do filesize=$(numfmt --to=si --suffix=B $(wc -c < ${filename})) - modified=$(${{matrix.stat_command}} -c %y "${filename}" | cut -d'.' -f1) + modified=${$(${{matrix.stat_command}} -c %y "${filename}" | cut -d'.' -f1)//-/\/} sha256=$(${{matrix.sha_command}} "${filename}" | awk '{print $1}') echo " - filename: ${filename}" >> "${manifest}" echo " filesize: ${filesize}" >> "${manifest}"