We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec4b1be commit f104b84Copy full SHA for f104b84
build/gen-release-note.js
@@ -1,6 +1,6 @@
1
const version = process.argv[2] || process.env.VERSION
2
const cc = require('conventional-changelog')
3
-const file = `./RELEASE_NOTE_${version}.md`
+const file = `./RELEASE_NOTE${version ? `_${version}` : ``}.md`
4
const fileStream = require('fs').createWriteStream(file)
5
6
cc({
0 commit comments