Skip to content

Commit

Permalink
Attempt to delimit encodings with commas, removing at end
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsmida committed May 23, 2024
1 parent 289344b commit b69e6bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/trigger-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
done <<< "$changed_filenames"
# Format encoded_file_contents with quotes and commas
formatted_encoded_file_contents="[ $(for elem in "${base64_encoded_files[@]}"; do echo "$elem,"; done | sed 's/,$//') ]"
formatted_encoded_file_contents="[ $(for elem in "${base64_encoded_files[@]}"; do echo "$elem,"; done) ]"
formatted_encoded_file_contents=$(echo $formatted_encoded_file_contents) | sed 's/,$//')
echo curl -L \
-X POST \
Expand Down

0 comments on commit b69e6bd

Please sign in to comment.