From 0382d0fcfba1108733003d2341e664f55e24ac7d Mon Sep 17 00:00:00 2001 From: Jake Runzer Date: Wed, 8 Jan 2025 14:49:21 -0500 Subject: [PATCH] get latest version from GitHub release (#586) * get latest version from GitHub release * fix uninstall script --- install.sh | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 101caab6a..83393354b 100755 --- a/install.sh +++ b/install.sh @@ -338,16 +338,12 @@ is_build_available() { UNINSTALL=0 HELP=0 -CARGOTOML="$(curl -fsSL https://raw.githubusercontent.com/railwayapp/cli/master/Cargo.toml)" -ALL_VERSIONS="$(sed -n 's/.*version = "\([^"]*\)".*/\1/p' </dev/null || true info "Removed railway" exit 0 @@ -525,4 +521,4 @@ printf "$MAGENTA" _/j L l\_! _//^---^\\_ EOF -printf "$NO_COLOR" \ No newline at end of file +printf "$NO_COLOR"