Skip to content

Commit f104b84

Browse files
committed
build: tweak release note file default name
1 parent ec4b1be commit f104b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/gen-release-note.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const version = process.argv[2] || process.env.VERSION
22
const cc = require('conventional-changelog')
3-
const file = `./RELEASE_NOTE_${version}.md`
3+
const file = `./RELEASE_NOTE${version ? `_${version}` : ``}.md`
44
const fileStream = require('fs').createWriteStream(file)
55

66
cc({

0 commit comments

Comments
 (0)