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

Failure to Publish Specific Version since v9.0.0 #748

Open
tianfeng92 opened this issue Jun 12, 2024 · 0 comments
Open

Failure to Publish Specific Version since v9.0.0 #748

tianfeng92 opened this issue Jun 12, 2024 · 0 comments

Comments

@tianfeng92
Copy link

Failed to publish specific version.

Description

Publishing a specific version with np fails starting from version v9.0.0. v8.0.4 is the last workable version.

Error message:

✖ Error: Increment 0.178.0 should be one of patch, minor, major, prepatch, preminor, premajor, or prerelease.
    at new Version (file:///Users/tianfeng/code/node-saucectl/node_modules/np/source/version.js:70:11)
    at ui (file:///Users/tianfeng/code/node-saucectl/node_modules/np/source/ui.js:147:50)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///Users/tianfeng/code/node-saucectl/node_modules/np/source/cli-implementation.js:134:18

Steps to reproduce

  1. Install the latest version of np.
  2. Attempt to publish a version using the command npx np 0.178.0.

Expected behavior

The command should successfully publish the specified version without errors.

Environment

np - from v9.0.0 to v10.0.5
Node.js - v22.2.0
npm - 10.7.0
Git - git version 2.39.3 (Apple Git-145)
OS - macOS 14.0

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

1 participant