Set up automated updates for GitHub-sourced binaries

This commit is contained in:
Ohad Livne 2025-06-04 22:46:26 +03:00
parent 4810683763
commit 77a5e344ae
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
7 changed files with 75 additions and 9 deletions

View file

@ -0,0 +1,3 @@
#! /usr/bin/sh
ghup

View file

@ -1,5 +0,0 @@
#! /usr/bin/sh
mkdir -p ~/.local/bin
curl --location https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip --to-stdout - > ~/.local/bin/rust-analyzer
chmod +x ~/.local/bin/rust-analyzer

View file

@ -1,4 +0,0 @@
#! /usr/bin/sh
mkdir -p ~/.local/bin
curl --location https://github.com/dolthub/dolt/releases/latest/download/dolt-linux-amd64.tar.gz | tar xz --directory="${HOME}"/.local/bin/ --strip-components=2 dolt-linux-amd64/bin/dolt