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

asdf latest elixir Returns main-otp-27 Instead of Latest Stable Version #135

Open
adonig opened this issue Feb 2, 2025 · 0 comments
Open

Comments

@adonig
Copy link

adonig commented Feb 2, 2025

Description

Since asdf v0.16.0, running:

$ asdf latest elixir
main-otp-27

returns main-otp-27 as the latest stable version. However, main-otp-27 represents the current state of Elixir development and should not be considered a stable release.

Expected Behavior

The command should return the latest stable Elixir version (e.g., 1.18.2-otp-27 at the time of writing) instead of main-otp-27.

Steps to Reproduce

  • Ensure asdf is updated to v0.16.0.
  • Run asdf latest elixir.
  • Observe that the output is main-otp-27 instead of the latest stable release.

System Information

  • asdf version: 0.16.0 (installed via go install)
  • OS: Fedora Linux 41 (Workstation Edition)

Additional Context

Prior to asdf v0.16.0, this command correctly returned the latest stable Elixir version. It seems like the logic for determining "latest stable" now incorrectly includes development branches.

If this behavior is intentional, it would be helpful to have an option like asdf latest --release elixir to fetch only stable releases.

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

No branches or pull requests

1 participant