Skip to content

Conversation

@cocoa-xu
Copy link
Contributor

When generating URLs in ElixirMake.Artefact.available_target_urls/2, we should return {{target, nif_version}, url} pairs instead of {target, url}.

Then we can find the correct URL of the current target with {current_target, nif_version} as the key.

Sorry for the second PR. Once this is merged, I'll test it a little bit, and if everything works, we can ship a new version!

@josevalim josevalim merged commit d6df870 into elixir-lang:master Feb 18, 2023
@josevalim
Copy link
Member

No problem!
💚 💙 💜 💛 ❤️

@cocoa-xu cocoa-xu deleted the cx-fix-current_target_url branch February 18, 2023 09:56
@cocoa-xu
Copy link
Contributor Author

Thanks @josevalim!

I tested it with exqlite on CI, https://github.com/cocoa-xu/exqlite/actions/runs/4210623809, and everything works. As for pulling precompiled binaries, it can also find and reuse the correct one on my macOS and Linux (tested locally). 😃

Should be okay to ship a new version!

@josevalim
Copy link
Member

done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants