Commit 9c51fb4b authored by tom goriunov's avatar tom goriunov Committed by GitHub

double quotes in NEXT_PUBLIC_MAINTENANCE_ALERT_MESSAGE cause an error (#1285)

Fixes #1276
parent c1867134
......@@ -21,6 +21,9 @@ for var in $(env | grep '^NEXT_PUBLIC_' | cut -d= -f1); do
# Get the value of the variable
value="${!var}"
# Replace double quotes with single quotes
value="${value//\"/\'}"
# Write the variable name and value to the output file
echo "${var}: \"${value}\"," >> "$output_file"
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment