Skip to content

Commit

Permalink
build: tweak release note file default name
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 21, 2017
1 parent ec4b1be commit f104b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/gen-release-note.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const version = process.argv[2] || process.env.VERSION
const cc = require('conventional-changelog')
const file = `./RELEASE_NOTE_${version}.md`
const file = `./RELEASE_NOTE${version ? `_${version}` : ``}.md`
const fileStream = require('fs').createWriteStream(file)

cc({
Expand Down

0 comments on commit f104b84

Please sign in to comment.