Browse Source

build: tweak release note file default name

dev
Evan You 7 years ago
parent
commit
f104b84b9d
  1. 2
      build/gen-release-note.js

2
build/gen-release-note.js

@ -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({

Loading…
Cancel
Save