Updated e-bin.sh
This commit is contained in:
parent
e2dd9a6f11
commit
6339920b8c
1 changed files with 2 additions and 2 deletions
4
e-bin.sh
4
e-bin.sh
|
@ -130,8 +130,8 @@ install_bot() {
|
|||
install_submenu() {
|
||||
local versions
|
||||
|
||||
# get versions from /refs/tags github endpoint
|
||||
mapfile -t versions < <(curl -s https://toastielab.dev/api/v1/repos/toastie_t0ast/elliebot/git/refs/tags | grep -oP '"ref": "refs/tags/\K[^"]+')
|
||||
# get versions from /repos/tags toastielab endpoint
|
||||
mapfile -t versions < <(curl -s https://toastielab.dev/api/v1/repos/EllieBotDevs/elliebot/tags | grep -oP '"ref": "refs/tags/\K[^"]+')
|
||||
|
||||
echo "${CYAN}Select version to install:${NC}"
|
||||
select version in "${versions[@]}"; do
|
||||
|
|
Loading…
Add table
Reference in a new issue