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

release 1.5.0-alpha.0 should not be an latest release #106

Closed
upupming opened this issue Oct 27, 2021 · 1 comment
Closed

release 1.5.0-alpha.0 should not be an latest release #106

upupming opened this issue Oct 27, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@upupming
Copy link
Member

upupming commented Oct 27, 2021

From the npm registry: https://www.npmjs.com/package/picgo the 1.5.0-alpha.0 version is released under the default latest tag, however, it should be released under alpha tag.

We can see the versions page of vue for example: npmjs.com/package/vue, and here is the release script: https://github.com/vuejs/vue-next/blob/5eb72630a53a8dd82c2b8a9705c21a8075161a3d/scripts/release.js#L207-L223

image

What we expected is that yarn add picgo@alpha will install 1.5.0-alpha.0 and yarn add picgo will install 1.4.26. But now yarn add picgo will install 1.5.0-alpha.0. Not sure if this is a bug of @picgo/bump-version

Oh, I see, this should be a bug of the CI file:

- run: npm publish --access public
, we should be able to handle different tags when publishing the package to npm.

@Molunerfinn
Copy link
Member

yes, it will be fixed in the next version

@Molunerfinn Molunerfinn added the bug Something isn't working label Oct 28, 2021
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

2 participants