Open
Description
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
- Install the latest version of
np
. - 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
Metadata
Metadata
Assignees
Labels
No labels