Skip to content

Commit a45d628

Browse files
committed
fix(changelog-parser): tolerate 'v' before version numbers
1 parent 2f14165 commit a45d628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/changelog-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22

3-
const versionRx = `\\d+\\.\\d+\\.\\d+(-[-a-z0-9.]+)?`
3+
const versionRx = `v?\\d+\\.\\d+\\.\\d+(-[-a-z0-9.]+)?`
44

55
export type Release = {
66
version: string,

0 commit comments

Comments
 (0)