🔨 Fix root_url replacement syntax

This commit is contained in:
Ben Chatelain 2024-10-26 15:03:46 -06:00
parent 7ecbf60fb8
commit 64961e7c81
No known key found for this signature in database

View file

@ -53,5 +53,5 @@ for file in ${LOCAL_MAS_FORMULA_PATH} ${LOCAL_TAP_FORMULA_PATH}; do
echo "${file}" echo "${file}"
sd '( +tag: +)"[^"]+"' "\$1\"${MAS_VERSION}\"" "${file}" sd '( +tag: +)"[^"]+"' "\$1\"${MAS_VERSION}\"" "${file}"
sd '( +revision: +)"[^"]+"' "\$1\"${REVISION}\"" "${file}" sd '( +revision: +)"[^"]+"' "\$1\"${REVISION}\"" "${file}"
sd '( +root_url "https://github.com/mas-cli/mas/releases/download/v' "\$1${REVISION}\"" "${file}" sd '( +root_url "https://github.com/mas-cli/mas/releases/download/v).+' "\${1}${REVISION}\"" "${file}"
done done