From a4f4edb1067699d3f402e96d12ae4d0a64f02dd1 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 17 Jul 2021 08:48:59 -0400 Subject: [PATCH] Update publish_binaries.yml Don't escape the slash, because it's not consistent across platforms. --- .github/workflows/publish_binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_binaries.yml b/.github/workflows/publish_binaries.yml index 0285b76..e3ada84 100644 --- a/.github/workflows/publish_binaries.yml +++ b/.github/workflows/publish_binaries.yml @@ -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}"