-
Notifications
You must be signed in to change notification settings - Fork 122
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
[BUG] Latest tag version on NPM is incorrect #521
Comments
Looks like we need to npm-dist-tag as well in the release. |
Can we get this fixed ASAP? It's a minor change and it cost me a ton of time and confusion. Small fix to something that drastically hurts the experience. |
@sam-goodwin Help make the code change where we need to be doing this? The job that runs the release has access to credentials but the humans here don't. Let's ask @gaiksaya to help us tag the previous release too, but I want to make sure we have it fixed moving forward. |
I am not sure - I think you need to run dist-tag CLI and AFAIK, updating the latest is default behavior. |
I found where we do the publication and opened an issue in opensearch-project/opensearch-build-libraries#206. Please feel free to take it on. |
Hi @sam-goodwin , Thanks for bringing this to our attention. I do not see a way to "NOT" tag anything as latest as this is the default behavior of npmjs. Re-tagging the same version as latest for every release might be possible. |
Oh so the fact that we publish both 1.x and 2.x lines is what's causing this. Agree that we should remove |
@dblock I think you misunderstood, we cannot "remove" |
I see. So can nothing be done or should we do something? |
What is the bug?
'latest' version on NPM is 1.2.0 while version 2.x are existing too
How can one reproduce the bug?
Output
"@opensearch-project/opensearch": "^1.2.0"
What is the expected behavior?
Latest version is the 2.2.1
What is your host/environment?
Windows
Do you have any screenshots?
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered: