mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Fix brew formula script
This commit is contained in:
parent
770793317b
commit
4dffbe6f29
1 changed files with 3 additions and 1 deletions
|
|
@ -12,12 +12,14 @@ gen_formula() {
|
|||
|
||||
header "sha_for x86_64-unknown-linux-musl..."
|
||||
sha_linux="$(sha_for_asset_on_github "$version" "x86_64-unknown-linux-musl")"
|
||||
header "$sha_linux"
|
||||
|
||||
header "sha_for x86_64-osx..."
|
||||
sha_osx="$(sha_for_asset_on_github "$version" "x86_64-osx")"
|
||||
header "$sha_osx"
|
||||
|
||||
header "rb..."
|
||||
curl -s https://raw.githubusercontent.com/denisidoro/homebrew-tools/master/navirs.rb \
|
||||
curl -s https://raw.githubusercontent.com/denisidoro/homebrew-tools/master/navi.rb \
|
||||
| sed -E "s/version ['\"].*/version '${version}'/" \
|
||||
| awk '!x{x=sub("sha256","sha_osx")}7' \
|
||||
| awk '!x{x=sub("sha256","sha_linux")}7' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue