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.
package.json
1 parent 284ba13 commit 00f54adCopy full SHA for 00f54ad
bin/cli.js
@@ -2,6 +2,7 @@
2
3
const { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = require("../dist/index");
4
const cli = require('cac')();
5
+const { pkgVersion: version } = require('../package.json');
6
7
const toNumber = function (version, max = false) {
8
const match = version.toString().match(/^(\d+)\.*(\d*)\.*(\d*)(\w*)(\d*)$/);
@@ -96,7 +97,7 @@ cli
96
97
.example('unity-changeset list --beta')
98
.example('unity-changeset list --versions')
99
.help()
- .version('1.2.0');
100
+ .version(pkgVersion);
101
102
if (process.argv.length < 3) {
103
cli.outputHelp(true);
0 commit comments