commit 68b39be
hovercats
·
2026-06-08 21:07:41 +0000 UTC
parent 9a13f78
github-cli: bump to 2.93.0 | use the automated precompiled binary instead of messing around with bootstrapping go for just one package. This also happens to be statically linked too, which is nice
5 files changed,
+4,
-14
+1,
-10
1@@ -1,12 +1,3 @@
2 #!/bin/sh -e
3
4-export GOPATH="$PWD/go"
5-export GO111MODULE=on
6-
7-CGO_ENABLED=0 go build -a -ldflags="-w -s -extldflags '-static'"\
8- -modcacherw \
9- -trimpath \
10- -buildvcs=false \
11- ./cmd/gh
12-
13-install -Dm755 gh "$1/usr/bin/gh"
14+install -Dm755 bin/gh "$1/usr/bin/gh"
+1,
-1
1@@ -1 +1 @@
2-067cd0e4454cc82edf873d4ab23452092a774cc6787c12ee08ca1d76a84b4a69f8
3+6c156aecbae7ac6379e2d79ce5179f57390a2517e1dc474d51f5089c7b2bef9671
+0,
-1
1@@ -1 +0,0 @@
2-go make
+1,
-1
1@@ -1 +1 @@
2-https://github.com/cli/cli/archive/v2.66.1.tar.gz
3+https://github.com/cli/cli/releases/download/v2.93.0/gh_2.93.0_linux_amd64.tar.gz
+1,
-1
1@@ -1 +1 @@
2-2.66.1 1
3+2.93.0 1