Update publish_binaries.yml

Don't escape the slash, because it's not consistent across platforms.
This commit is contained in:
Jim Derry 2021-07-17 08:48:59 -04:00 committed by GitHub
parent c5f4c0d34b
commit a4f4edb106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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