Skip to content

Commit 92a5e93

Browse files
committed
build: update release note script
1 parent 086e6d9 commit 92a5e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen-release-note.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const version = process.env.VERSION
1+
const version = process.argv[2] || process.env.VERSION
22
const cc = require('conventional-changelog')
33
const file = `./RELEASE_NOTE_${version}.md`
44
const fileStream = require('fs').createWriteStream(file)

0 commit comments

Comments
 (0)