Skip to content

Commit 09788c5

Browse files
jelbournmmalerba
authored andcommitted
build: let release script parse "next" in versions (#17289)
(cherry picked from commit 1f9ce44)
1 parent aa20aa7 commit 09788c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/release/version-name/parse-version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** Regular expression that matches version names and the individual version segments. */
2-
const versionNameRegex = /^(\d+)\.(\d+)\.(\d+)(?:-(alpha|beta|rc)\.(\d+))?$/;
2+
const versionNameRegex = /^(\d+)\.(\d+)\.(\d+)(?:-(alpha|beta|next|rc)\.(\d+))?$/;
33

44
export class Version {
55
constructor(

0 commit comments

Comments
 (0)