diff --git a/.github/workflows/publish_binaries.yml b/.github/workflows/publish_binaries.yml index 96c15a2..0285b76 100644 --- a/.github/workflows/publish_binaries.yml +++ b/.github/workflows/publish_binaries.yml @@ -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}"