Skip to content

Commit

Permalink
oh my goodness, im stupid
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
trueberryless committed Nov 24, 2024
1 parent 941cc9d commit 29bb9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
# Read the contents of the second file, focusing on the License section
src_license=$(awk '/## License/,EOF' "../$src_file" | tail -n +2)
escaped_src_license=$(echo "$LICENSE_CONTENT" | sed 's/[&/\]/\\&/g')
escaped_src_license=$(echo "$src_license" | sed 's/[&/\]/\\&/g')
# Combine content, replace the License section from file1 with the new License content from file2
combination=$(echo "$dest_content" | sed "/## License/ {n; s/.*/$escaped_src_license/}")
Expand Down

0 comments on commit 29bb9e8

Please sign in to comment.