mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
🔨 Fix root_url replacement syntax
This commit is contained in:
parent
7ecbf60fb8
commit
64961e7c81
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue