Closed kebe7jun closed 2 years ago
Description
Run curl -s https://raw.githubusercontent.com/profclems/glab/trunk/scripts/install.sh | DEBUG=1 sudo sh It shows:
curl -s https://raw.githubusercontent.com/profclems/glab/trunk/scripts/install.sh | DEBUG=1 sudo sh
#0 2.012 + mkdir -p /tmp/glab_v1.22.0 #0 2.037 + printf -- Downloading glab_%s_%s_%s.tar.gz\n 1.22.0 Linux aarch64 #0 2.037 Downloading glab_1.22.0_Linux_aarch64.tar.gz #0 2.039 + curl -sL https://github.com/profclems/glab/releases/download/v1.22.0/glab_1.22.0_Linux_aarch64.tar.gz #0 2.039 + tar -C /tmp/glab_v1.22.0 -xzf -
The url should be https://github.com/profclems/glab/releases/download/v1.22.0/glab_1.22.0_Linux_arm64.tar.gz maybe.
Expected Behavior vs Actual Behavior
As upon.
Possible Fix
Change the logic here: https://github.com/profclems/glab/blob/e5cbfb277bc067159dd31917c0f76469859a5acb/scripts/install.sh#L41
Steps to Reproduce
See upon.
Logs
Your Environment
glab --version
Description
Run
curl -s https://raw.githubusercontent.com/profclems/glab/trunk/scripts/install.sh | DEBUG=1 sudo sh
It shows:The url should be https://github.com/profclems/glab/releases/download/v1.22.0/glab_1.22.0_Linux_arm64.tar.gz maybe.
Expected Behavior vs Actual Behavior
As upon.
Possible Fix
Change the logic here: https://github.com/profclems/glab/blob/e5cbfb277bc067159dd31917c0f76469859a5acb/scripts/install.sh#L41
Steps to Reproduce
See upon.
Logs
Your Environment
glab --version
):