Skip to content

Commit

Permalink
Fixed a problem with reading the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Mar 18, 2016
1 parent efbb282 commit f8e329d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = (name) => () => {
execSync(`cd packages/${name}-dev && npm version ${nextVersion} --no-git-tag-version`);

// 4) Read the version from main package
const newVersion = require(`../packages/${name}/package.json`).version;
const newVersion = require(resolvePath(process.cwd(), `packages/${name}/package.json`)).version;

// 5) Create a new commit
// 6) Create a v* tag that points to that commit
Expand Down

0 comments on commit f8e329d

Please sign in to comment.