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

Please update the version in package.json for new releases! #130

Closed
ilg-ul opened this issue Nov 29, 2023 · 3 comments
Closed

Please update the version in package.json for new releases! #130

ilg-ul opened this issue Nov 29, 2023 · 3 comments

Comments

@ilg-ul
Copy link
Contributor

ilg-ul commented Nov 29, 2023

You just released 2.3.0, but the package.json version still reads 2.2.1, and so the package cannot be installed via npm/xpm.

Please be sure you update the version in package.json for new releases!

In this case you'll probably need to make a 2.3.1 release.

@ilg-ul
Copy link
Contributor Author

ilg-ul commented Nov 29, 2023

FYI, the easiest way to keep everything in sync is to use npm version, it updates the package.json and adds the tag for the release.

In your case, in an up to date repository, all you have to do is npm version patch, then push everything.

@jothepro
Copy link
Owner

Thanks for pointing this out. Yeah I will need to adapt or improve my release workflow, otherwise this mistake is prone to happen again. I hope everything is working now?

@ilg-ul
Copy link
Contributor Author

ilg-ul commented Nov 30, 2023

I hope everything is working now?

I updated my projects and they seem ok.

... improve my release workflow

yeah, the best way to go is to start publishing the project on npmjs.com, this will ensure the released versions are different.

at the minimum, you should add nom version to your release checklist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants