Commit a99e2c07 authored by Zhenzhen Zhan's avatar Zhenzhen Zhan
Browse files

Fix the version output bug

parent ac600bff
#!/usr/bin/env node
if (process.argv[2] === '--version') {
require('bitcore-node-crown/lib').version = require('../package.json').version;
}
var bitcore = require('bitcore-node-crown/lib/cli/bitcore');
var path = require('path');
var servicesPath = path.resolve(__dirname, '../');
......
......@@ -17,6 +17,9 @@ try {
catch (ex) {
}
if (process.argv[2] === '--version') {
require('bitcore-node-crown/lib').version = require('../package.json').version;
}
var bitcored = require('bitcore-node-crown/lib/cli/bitcored');
var servicesPath = path.resolve(__dirname, '../');
var additionalServices = ['insight-api-crown', 'insight-ui-crown'];
......
{
"name": "bitcore-crown",
"version": "0.2.16",
"version": "0.2.17",
"publishConfig": {
"tag": "next"
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment