Update publish_binaries.yml
This commit is contained in:
parent
7f4394590e
commit
c5f4c0d34b
3
.github/workflows/publish_binaries.yml
vendored
3
.github/workflows/publish_binaries.yml
vendored
|
@ -154,7 +154,8 @@ jobs:
|
||||||
touch "${manifest}"
|
touch "${manifest}"
|
||||||
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//-/\/}"
|
||||||
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