Skip to content

fix: restore backward compatibility of ASDF_{TOOL}_VERSION env vars#2177

Closed
reegnz wants to merge 2 commits intoasdf-vm:masterfrom
reegnz:patch-1
Closed

fix: restore backward compatibility of ASDF_{TOOL}_VERSION env vars#2177
reegnz wants to merge 2 commits intoasdf-vm:masterfrom
reegnz:patch-1

Conversation

@reegnz
Copy link
Copy Markdown

@reegnz reegnz commented Sep 4, 2025

Summary

In the bash version it was not only uppercasing, but also replacing - with _ (because - is not a valid character for env vars).

See original code for reference:
https://github.com/asdf-vm/asdf/blame/master/lib/commands/command-export-shell-version.bash#L20-L21

Other Information

In the bash version, it was not only uppercasing, but also replacing `-` with `_` (because `-` is not a valid character for env vars).

See original code for reference:
https://github.com/asdf-vm/asdf/blame/master/lib/commands/command-export-shell-version.bash#L20-L21
@reegnz reegnz requested a review from a team as a code owner September 4, 2025 23:31
@reegnz reegnz changed the title Restore backward compatibility of ASDF_{TOOL}_VERSION env vars fix: restore backward compatibility of ASDF_{TOOL}_VERSION env vars Sep 4, 2025
@Stratus3D
Copy link
Copy Markdown
Member

Thanks for the PR @reegnz and sorry for the extremely late review! These same changes were merged from #2194 and will go out in the next patch release. Closing this PR as it is no longer needed.

@Stratus3D Stratus3D closed this Apr 18, 2026
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