apibara/dna

bash install script fails

tekkac opened this issue · 0 comments

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):

  • OS: all
  • Version: all
  • Apibara version: any

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.