We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf5bf8 commit ad345d0Copy full SHA for ad345d0
release.js
@@ -48,13 +48,13 @@ if (versionBump !== 'none') {
48
console.log(`Bumping version: ${version}`);
49
50
packageJson.version = version;
51
- fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));
+ fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2) + "\n");
52
modifiedFiles.push('package.json');
53
54
if (yargs.argv.bower) {
55
const bowerJson = fs.readFileSync('bower.json');
56
bowerJson.version = version;
57
- fs.writeFileSync('bower.json', JSON.stringify(bowerJson, null, 2));
+ fs.writeFileSync('bower.json', JSON.stringify(bowerJson, null, 2) + "\n");
58
modifiedFiles.push('bower.json');
59
}
60
0 commit comments