From c5f4c0d34bad5a22a8f709a0428e4fab672cbc28 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 17 Jul 2021 08:38:34 -0400 Subject: [PATCH] Update publish_binaries.yml --- .github/workflows/publish_binaries.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"