Add newline to package.json when bumping version.
This commit is contained in:
parent
e38f442a39
commit
a530ad2ccf
@ -367,7 +367,7 @@ module.exports = (grunt) ->
|
||||
oldversion = pkg.meta.version
|
||||
pkg.meta.version = version
|
||||
grunt.config 'pkg', pkg
|
||||
grunt.file.write 'package.json', JSON.stringify(pkg, null, 2)
|
||||
grunt.file.write 'package.json', JSON.stringify(pkg, null, 2) + '\n'
|
||||
grunt.log.ok "Version updated from v#{oldversion} to v#{version}."
|
||||
|
||||
grunt.registerTask 'updcl', 'Update the changelog', ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user