diff --git a/tools/release b/tools/release index 7e7e15c8bd..8ec3c0df48 100755 --- a/tools/release +++ b/tools/release @@ -1,4 +1,8 @@ #!/usr/bin/env node +/* eslint no-var: 0 */ require('../register-babel'); +var path = require('path'); +var nodeModulesBin = path.resolve(__dirname, '../node_modules/.bin'); +process.env.PATH = nodeModulesBin + ':' + process.env.PATH; require('./release-scripts/release');