[node] autopublish node-pre-gyp binary
If $TRAVIS_TAG matches with node-v${PACKAGE_JSON_VERSION}.
This commit is contained in:
6
scripts/node/package-version.js
Normal file
6
scripts/node/package-version.js
Normal file
@@ -0,0 +1,6 @@
|
||||
var readJSON = require('read-package-json');
|
||||
|
||||
readJSON('package.json', function(err, data) {
|
||||
if (err) process.stderr.write(err);
|
||||
process.stdout.write(data.version);
|
||||
});
|
||||
Reference in New Issue
Block a user