Skip to content

Commit

Permalink
require tag to start with letter
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson committed Jun 23, 2019
1 parent 19b0c60 commit a919438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version-parser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const VALID_VERSION_REGEX = /^v\d+\.\d+\.\d+(?:-([0-9A-Za-z-]+))?/;
const VALID_VERSION_REGEX = /^v\d+\.\d+\.\d+(?:-([a-zA-Z][0-9a-zA-Z-]*))?/;
const STABLE_VERSION_REGEX = /^v\d+\.\d+\.\d+$/;

module.exports = {
Expand Down

0 comments on commit a919438

Please sign in to comment.