Skip to content

Upgrade from 0.9.x to 0.10.x failure #68

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

Open
jerome-benoit opened this issue Apr 22, 2025 · 2 comments · May be fixed by #69
Open

Upgrade from 0.9.x to 0.10.x failure #68

jerome-benoit opened this issue Apr 22, 2025 · 2 comments · May be fixed by #69
Labels
bug Something isn't working

Comments

@jerome-benoit
Copy link
Contributor

Describe the bug

╭─fraggle at nemesis in ~
╰─○ dvm upgrade
HEAD est maintenant à 6dae8a3 v0.9.1
erreur : le spécificateur de chemin 'v0.10.0' ne correspond à aucun fichier connu de git
DVM has upgrade to latest version, please restart your terminal or run `source /home/fraggle/.zshrc` to apply changes.

The latest tags 0.10 is not pulled from the origin branch.

In ~/.dvm, running git pull origin --tags fix the dvm upgrade error.

To Reproduce
Run dvm upgrade from a dvm installation < 0.10.

@jerome-benoit jerome-benoit changed the title Upgrade fro, 0.9.x to 0.10.x failure Upgrade from 0.9.x to 0.10.x failure Apr 22, 2025
@ghosind ghosind added the bug Something isn't working label Apr 22, 2025
@ghosind
Copy link
Owner

ghosind commented Apr 22, 2025

Thanks for reporting the bug, would you like to help me fix it?

@jerome-benoit
Copy link
Contributor Author

jerome-benoit commented Apr 22, 2025

Since I maintain more than 5 FOSS, I do not really have time to provide a PR at the moment. But at upgrade

  1. check if a tag exists locally with git rev-parse and is the current checked out tag version (requires tag and version to be the same)
  2. checkout the tag if not with git checkout

@ghosind ghosind linked a pull request Apr 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants