Skip to content

Commit 5cfcc05

Browse files
committed
Merge pull request #4976 from imbalind/pr4785
chore(build): change contents saved to package.json
2 parents fbdaf8d + 4a23af9 commit 5cfcc05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/grunt/plugins.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ module.exports = function(grunt) {
331331
fs.writeFileSync(bowerJsonFile, JSON.stringify(json, null, 2));
332332

333333
// Add version for package.json
334-
json.version = currentTag;
334+
pkg.version = currentTag;
335335

336-
fs.writeFileSync(pkgJsonFile, JSON.stringify(json, null, 2));
336+
fs.writeFileSync(pkgJsonFile, JSON.stringify(pkg, null, 2));
337337
});
338338

339339
// Publish release to NPM

0 commit comments

Comments
 (0)