Update publish_binaries.yml
Don't escape the slash, because it's not consistent across platforms.
This commit is contained in:
parent
c5f4c0d34b
commit
a4f4edb106
2
.github/workflows/publish_binaries.yml
vendored
2
.github/workflows/publish_binaries.yml
vendored
|
@ -155,7 +155,7 @@ jobs:
|
||||||
for filename in *.*[^sha256]; do
|
for filename in *.*[^sha256]; do
|
||||||
filesize=$(numfmt --to=si --suffix=B $(wc -c < ${filename}))
|
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//-/\/}"
|
modified="${modified//-//}"
|
||||||
sha256=$(${{matrix.sha_command}} "${filename}" | awk '{print $1}')
|
sha256=$(${{matrix.sha_command}} "${filename}" | awk '{print $1}')
|
||||||
echo " - filename: ${filename}" >> "${manifest}"
|
echo " - filename: ${filename}" >> "${manifest}"
|
||||||
echo " filesize: ${filesize}" >> "${manifest}"
|
echo " filesize: ${filesize}" >> "${manifest}"
|
||||||
|
|
Loading…
Reference in a new issue