Update publish_binaries.yml

This commit is contained in:
Jim Derry 2021-07-17 08:38:34 -04:00 committed by GitHub
parent 7f4394590e
commit c5f4c0d34b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,8 @@ 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)
modified="${modified//-/\/}"
sha256=$(${{matrix.sha_command}} "${filename}" | awk '{print $1}')
echo " - filename: ${filename}" >> "${manifest}"
echo " filesize: ${filesize}" >> "${manifest}"