We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd3b0b commit f17ed76Copy full SHA for f17ed76
bin/version.js
@@ -8,7 +8,7 @@ import { inc, parse } from 'semver';
8
9
import parseCmdArgs from 'parse-cmd-args';
10
11
-const { input } = parseCmdArgs(null, {
+const { inputs } = parseCmdArgs(null, {
12
requireUserInput: true
13
});
14
@@ -28,7 +28,7 @@ const loadAndParsePackageFile = async path => {
28
29
const { prerelease } = parse(pkg.version);
30
31
- const nextVersion = inc(pkg.version, input, prerelease[0]);
+ const nextVersion = inc(pkg.version, inputs[0], prerelease[0]);
32
33
await writeFile(
34
join(workspace, './package.json'),
0 commit comments