Update publish_binaries.yml

Ensure the date format is the same as we use on the binaries page.
This commit is contained in:
Jim Derry 2021-07-17 08:34:08 -04:00 committed by GitHub
parent 408ac93195
commit 7f4394590e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"