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

Update notifier not detecting latest version #4782

Closed
loozhengyuan opened this issue May 13, 2021 · 3 comments · Fixed by #4784
Closed

Update notifier not detecting latest version #4782

loozhengyuan opened this issue May 13, 2021 · 3 comments · Fixed by #4784
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@loozhengyuan
Copy link
Contributor

🐛 Bug Report

When running docusaurus commands on 2.0.0-beta.0, the update notifier reads the last alpha version as the latest.

Expected behavior

Expected update notifier to be detect the latest version.

Actual Behavior

$ docusaurus build

   ╭────────────────────────────────────────────────────────────────────────────────────────╮
   │                                                                                        │
   │                     Update available 2.0.0-beta.0 → 2.0.0-alpha.75                     │
   │                                                                                        │
   │   To upgrade Docusaurus packages with the latest version, run the following command:   │
   │         yarn upgrade @docusaurus/core@latest @docusaurus/preset-classic@latest         │
   │                                                                                        │
   ╰────────────────────────────────────────────────────────────────────────────────────────╯

Your Environment

$ docusaurus --version
2.0.0-beta.0
@loozhengyuan loozhengyuan added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels May 13, 2021
@slorber
Copy link
Collaborator

slorber commented May 13, 2021

Thanks, was also reported this:

image

@slorber
Copy link
Collaborator

slorber commented May 13, 2021

@loozhengyuan can you tell me from which version of Docusaurus you upgraded to the beta.0 ?
Is the site open-source?
Is the message constantly displayed?

Might be related to:

@loozhengyuan loozhengyuan changed the title [2.0.0-beta.0] Update notifier not detecting latest version Update notifier not detecting latest version May 13, 2021
@loozhengyuan
Copy link
Contributor Author

@slorber I upgraded from alpha.72 to beta.0. Unfortunately, its an internal site so I am not able to share the repo. Interestingly, the message is no longer displayed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants