Skip to content

fix: delete previous version after upgrade#112

Draft
zkochan wants to merge 1 commit intomainfrom
fix-cleanup
Draft

fix: delete previous version after upgrade#112
zkochan wants to merge 1 commit intomainfrom
fix-cleanup

Conversation

@zkochan
Copy link
Copy Markdown
Member

@zkochan zkochan commented Mar 30, 2026

Summary

  • The upgrade command described itself as deleting the previous installed version, but never actually did
  • After a successful upgrade, now calls removeVersions() on the previous version (when it differs from the newly installed one)

Test plan

  • Run bvm upgrade when a newer version is available and verify the old version directory is removed from ~/.bvm/versions/
  • Run bvm upgrade when already on latest and verify nothing is removed

The upgrade command claimed to delete the previous installed version but
never actually did. Now calls removeVersions() on the previous version
after a successful upgrade.
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.

1 participant