Skip to content

Commit 1eacbe6

Browse files
committed
Retain newlines in in package index entry generation command
The previous command discarded all line breaks from the package input snippet generated by the release workflow, making it more difficult to check visually and to insert into the package index. This is fixed by adding the missing quoting on a variable.
1 parent 926c246 commit 1eacbe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ jobs:
292292
T_OS=`echo ${folder} | awk '{print toupper($0)}'`
293293
SHASUM=`sha256sum ${ARCHIVE_NAME} | cut -f1 -d" "`
294294
SIZE=`stat --printf="%s" ${ARCHIVE_NAME}`
295-
package_index=`echo $package_index |
295+
package_index=`echo "$package_index" |
296296
sed s/%%FILENAME_${T_OS}%%/${ARCHIVE_NAME}/ |
297297
sed s/%%FILENAME_${T_OS}%%/${ARCHIVE_NAME}/ |
298298
sed s/%%SIZE_${T_OS}%%/${SIZE}/ |

0 commit comments

Comments
 (0)