Update buf

main
Buddy Sandidge 6 days ago
parent dbabc8b550
commit 233dba0dfe

@ -17,11 +17,10 @@ $env.XDG_VIDEOS_DIR = $'($env.HOME)/videos'
let xdg = $env let xdg = $env
| transpose name value | transpose name value
| each {|e| if $e.name =~ 'XDG_' { $e } else { null }} | each {|e| if $e.name =~ 'XDG_' {{
| each {|e| {
name: ($e.name | str replace 'XDG_' '' | str downcase), name: ($e.name | str replace 'XDG_' '' | str downcase),
value: $e.value value: $e.value
}} }} else { null }}
| reduce --fold {} {|e, memo| { | reduce --fold {} {|e, memo| {
...$memo, ...$memo,
$e.name: ($e.value | if $in =~ ':' { split row ':' } else { $e.value }) $e.name: ($e.value | if $in =~ ':' { split row ':' } else { $e.value })

@ -5,7 +5,7 @@ set -euo pipefail
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
VERSION=${VERSION:-v1.36.0} VERSION=${VERSION:-v1.47.2}
DEST=${XDG_DATA_HOME}/apps/releases/buf DEST=${XDG_DATA_HOME}/apps/releases/buf
CURRENT=${DEST}/current CURRENT=${DEST}/current
URL=https://github.com/bufbuild/buf/releases/download/${VERSION}/buf-$(uname)-$(uname -m).tar.gz URL=https://github.com/bufbuild/buf/releases/download/${VERSION}/buf-$(uname)-$(uname -m).tar.gz

@ -3,7 +3,7 @@
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=fzf APP=fzf
VERSION=${VERSION:-0.53.0} VERSION=${VERSION:-0.57.0}
DEST=${XDG_DATA_HOME}/apps/releases/${APP} DEST=${XDG_DATA_HOME}/apps/releases/${APP}
URL=https://github.com/junegunn/fzf/releases/download/${VERSION}/fzf-${VERSION}-$(get_os)_$(get_arch).tar.gz URL=https://github.com/junegunn/fzf/releases/download/${VERSION}/fzf-${VERSION}-$(get_os)_$(get_arch).tar.gz

Loading…
Cancel
Save