Skip to content
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

fix: melos --version tries to downgrade when on a prerelease version #482

Closed
1 task done
spydon opened this issue Feb 28, 2023 · 3 comments
Closed
1 task done

fix: melos --version tries to downgrade when on a prerelease version #482

spydon opened this issue Feb 28, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@spydon
Copy link
Collaborator

spydon commented Feb 28, 2023

Is there an existing issue for this?

  • I have searched the existing issues.

Version

3.0.0-dev.0

Description

When running melos --version it is looking for newer versions of Melos and it thinks that 2.9.0 is newer than 3.0.0-dev.0 which I'm currently on.

Steps to reproduce

~ ❯ melos --version
3.0.0-dev.0
? There is a new version of melos available (2.9.0). Would you like to update? (Y/n) »

Expected behavior

Reporting that I'm running the latest version, or that there is a new pre-release version out (when being on a pre-release version).

Screenshots

No response

Additional context and comments

No response

@spydon spydon added bug Something isn't working Needs: Triage The issue needs triaging labels Feb 28, 2023
@blaugold blaugold removed the Needs: Triage The issue needs triaging label Mar 7, 2023
@blaugold
Copy link
Collaborator

blaugold commented Mar 7, 2023

pub_updater does not support handling prereleases yet, but meanwhile we could at least disable the update check for prerelease versions.

@renancaraujo
Copy link
Contributor

@spydon I think this was fixed, can you still reproduce it?

@spydon
Copy link
Collaborator Author

spydon commented Feb 12, 2024

Works like it should now!

@spydon spydon closed this as completed Feb 12, 2024
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

No branches or pull requests

3 participants