update go version to 1.27

main
Buddy 2 weeks ago
parent c82a530b6a
commit 0e86d25488

@ -1,22 +1,22 @@
/.idea .idea
/README.md README.md
/scripts scripts
{{- if not .include_legacy }} {{- if not .include_legacy }}
/.local/share/duck-encoder .local/share/duck-encoder
{{- end }} {{- end }}
{{- if ne .role "personal" }} {{- if ne .role "personal" }}
/.authcode .authcode
/.config/git/config.d/personal.config .config/git/config.d/personal.config
/.config/nushell/lib/secrets/personal.nu .config/nushell/lib/secrets/personal.nu
/.ssh .ssh
{{- end }} {{- end }}
{{- if eq .role "work" }} {{- if eq .role "work" }}
/.config/npm/npmrc .config/npm/npmrc
{{- end }} {{- end }}
{{- if ne .role "work" }} {{- if ne .role "work" }}
/.config/npm/config .config/npm/config
/.config/git/config.d/work.config .config/git/config.d/work.config
/.config/nushell/lib/secrets/work.nu .config/nushell/lib/secrets/work.nu
/.config/nushell/lib/work .config/nushell/lib/work
/.config/nushell/lib/work/mod.nu .config/nushell/lib/work/mod.nu
{{- end }} {{- end }}

@ -6,7 +6,7 @@ set -euo pipefail
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=go APP=go
VERSION=${VERSION:-1.26.2} VERSION=${VERSION:-1.27.0}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}" DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz

@ -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:-1.26.2} VERSION=${VERSION:-1.27.0}
DEST=/usr/local/apps/golang DEST=/usr/local/apps/golang
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz
DEST_BIN=$DEST/current/bin DEST_BIN=$DEST/current/bin

Loading…
Cancel
Save