🔨 Use MAS_VERSION in root_url

This commit is contained in:
Ben Chatelain 2024-10-26 15:08:06 -06:00
parent 64961e7c81
commit 8bbf5525b4
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}"
sd '( +tag: +)"[^"]+"' "\$1\"${MAS_VERSION}\"" "${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}${MAS_VERSION}\"" "${file}"
done