tristanisham / zvm

zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.

Home Page:https://www.zvm.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use mach versions

kalin-sa opened this issue · comments

Installing a Mach-nominated version works, but it can't be used after that.

$ zvm -vmu=mach
2024/03/01 12:48:39 INFO Run `-vmu default` to reset your version map.

$ zvm i mach-latest
Downloading mach-latest: 100% |██████████████████████████████████████████████████████████████████████████████████████████████████████████████| (46/46 MB, 42 MB/s)
Checking shasum...
Shasums match! 🎉
Extracting bundle...
Removing old symlink

$ zvm use mach-latest
2024/03/01 12:45:48 FATA version mach-latest is not a released version

Same if I pass "-vmu mach" to the use command:

zvm -vmu=mach use mach-latest
2024/03/01 12:47:59 INFO Run `-vmu default` to reset your version map.
2024/03/01 12:47:59 FATA version mach-latest is not a released version

Solved with the latest commit. Should now let you switch between any of the versions you have installed.