Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fetch latest polkadot releases #108

Merged
merged 2 commits into from
Apr 12, 2024
Merged

fix: fetch latest polkadot releases #108

merged 2 commits into from
Apr 12, 2024

Conversation

AlexD10S
Copy link
Collaborator

@AlexD10S AlexD10S commented Apr 12, 2024

We are fetching the latest polkadot version from https://github.com/paritytech/polkadot-sdk/releases,
Latest release there is a Polkadot Parachain release, and this was making the tool fail because we are trying to get a version of Polkadot that doesn't exist:

Error: error sending request for url (https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-parachain-v1.10.1/polkadot): error trying to connect: unexpected EOF

The workaround suggested in this PR: fetch the latest n (5 in this case) versions and iterate to find the Polkadot version.

@AlexD10S AlexD10S requested a review from evilrobot-01 April 12, 2024 11:17
@evilrobot-01 evilrobot-01 changed the title fix: fetch latests polkadot releases fix: fetch latest polkadot releases Apr 12, 2024
Copy link
Contributor

@evilrobot-01 evilrobot-01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AlexD10S AlexD10S merged commit ee816e2 into main Apr 12, 2024
1 check passed
@AlexD10S AlexD10S deleted the fix-fetch-releases branch April 12, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants