baseurl fix

This commit is contained in:
0xOzgur 2024-10-14 11:15:05 +03:00
parent b15a557596
commit 1b6d04e02c
2 changed files with 6 additions and 0 deletions

View File

@ -105,6 +105,9 @@ get_os_arch() {
echo "${os}-${arch}"
}
# Base URL for the Quilibrium releases
BASE_URL="https://releases.quilibrium.com/release"
# Get the current OS and architecture
OS_ARCH=$(get_os_arch)

View File

@ -64,6 +64,9 @@ get_os_arch() {
# Get the current OS and architecture
OS_ARCH=$(get_os_arch)
# Base URL for the Quilibrium releases
BASE_URL="https://releases.quilibrium.com/release"
# Fetch the list of files from the release page
FILES=$(curl -s $BASE_URL | grep -oE "node-[0-9]+\.[0-9]+\.[0-9]+-${OS_ARCH}(\.dgst)?(\.sig\.[0-9]+)?")