Add script to package Linux binary into archive (#11165)
Release Notes: - N/A
This commit is contained in:
parent
73d0600ad2
commit
d743c19fe2
7 changed files with 92 additions and 105 deletions
|
@ -19,9 +19,12 @@ echo -e "# ###### CODE LICENSES ######\n" >> $OUTPUT_FILE
|
|||
echo "Generating cargo licenses"
|
||||
cargo about generate --fail -c script/licenses/zed-licenses.toml script/licenses/template.hbs.md >> $OUTPUT_FILE
|
||||
|
||||
sed -i '' 's/"/"/g' $OUTPUT_FILE
|
||||
sed -i '' 's/'/'\''/g' $OUTPUT_FILE # The ` '\'' ` thing ends the string, appends a single quote, and re-opens the string
|
||||
sed -i '' 's/=/=/g' $OUTPUT_FILE
|
||||
sed -i '' 's/`/`/g' $OUTPUT_FILE
|
||||
sed -i '' 's/</</g' $OUTPUT_FILE
|
||||
sed -i '' 's/>/>/g' $OUTPUT_FILE
|
||||
|
||||
sed -i.bak 's/"/"/g' $OUTPUT_FILE
|
||||
sed -i.bak 's/'/'\''/g' $OUTPUT_FILE # The ` '\'' ` thing ends the string, appends a single quote, and re-opens the string
|
||||
sed -i.bak 's/=/=/g' $OUTPUT_FILE
|
||||
sed -i.bak 's/`/`/g' $OUTPUT_FILE
|
||||
sed -i.bak 's/</</g' $OUTPUT_FILE
|
||||
sed -i.bak 's/>/>/g' $OUTPUT_FILE
|
||||
|
||||
rm -rf "${OUTPUT_FILE}.bak"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue