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

[PATCH] 5.0.1 Fix unmatched package.json version and published version #178

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

COScholl
Copy link
Collaborator

@COScholl COScholl commented Jun 28, 2021

  • I ran npm version major after manually editing package.json with version 5.0.0, this bumped version to 6.0.0
  • I then manually edited package.json again to 5.0.0
  • I then ran npm publish, not realizing that this would cause a discrepancy with npm, where the stated version on https://www.npmjs.com/package/sane was '5.0.0', but npm install would list version in dependencies as 6.0.0

To correct, I ran npm version 5.0.1 and published, since you cannot republish an old version.
This may cause an issue with the next major version, and could require the next major version to start at 6.0.1

@COScholl COScholl changed the title [PATCH] Fix unmatched package.json version and published version [PATCH] 5.0.1 Fix unmatched package.json version and published version Jun 28, 2021
@COScholl COScholl merged commit a38cffc into master Jun 28, 2021
@COScholl COScholl deleted the patch-5-0-0 branch June 28, 2021 01:51
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

Successfully merging this pull request may close these issues.

1 participant