apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
166 stars 26 forks source link

bash install script fails #361

Closed tekkac closed 2 months ago

tekkac commented 3 months ago

Describe the bug

Bash install script is not working, due to a small issues with the Github API and large number of releases.

To Reproduce

curl -sL https://install.apibara.com | bash
apibara-installer: assert_nz failed: release tag

Expected behavior

Install works

Software (please complete the following information):

Additional context The issue is with the pagination of the github API call that fetches releases. Some options: Option 1: fix with adding a large per_page and having a cli release every 100 releases. Option 2: loop through all pages until finding the right release.