Skip to content

Commit

Permalink
removed noticed and set version ahead at v0.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanisham committed Oct 28, 2024
1 parent c795f3e commit b27d6a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion cli/meta/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
VERSION = "v0.7.8"
VERSION = "v0.7.9"
// VERSION = "v0.0.0" // For testing zvm upgrade

)
Expand Down
14 changes: 0 additions & 14 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,20 +291,6 @@ func main() {

// run and report errors
if err := zvmApp.Run(os.Args); err != nil {
if meta.VERSION == "v0.7.8" && errors.Is(err, cli.ErrInvalidVersionMap) {
meta.CtaGeneric("Help", `Encountered an issue while trying to install ZLS for Zig 'master'.
Problem: ZVM v0.7.7 may have saved an invalid 'zlsVersionMapUrl' to your settings,
which causes this error. The latest version, v0.7.8, can fix this issue by using the correct URL.
To resolve this:
1. Open your ZVM settings file: '~/.zvm/settings.json'
2. Remove the 'zlsVersionMapUrl' key & value from the file (if present).
What happens next: ZVM will automatically use the correct version map the next time you run it
If the issue persists, please double-check your settings and try again, or create a GitHub Issue.`)
}

meta.CtaFatal(err)
}

Expand Down

0 comments on commit b27d6a7

Please sign in to comment.