Skip to content

Commit

Permalink
add missing v
Browse files Browse the repository at this point in the history
Co-Authored-By: azu <[email protected]>
  • Loading branch information
tjenkinson and azu authored Jun 23, 2019
1 parent 6d5060c commit 19b0c60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/version-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ module.exports = {
},
// extract what we should use as the npm dist-tag (https://docs.npmjs.com/cli/dist-tag)
// e.g
// 1.2.3-beta => beta
// 1.2.3-beta.1 => beta
// 1.2.3 => latest
// v1.2.3-beta => beta
// v1.2.3-beta.1 => beta
// v1.2.3 => latest
getVersionTag: function(version) {
const match = VALID_VERSION_REGEX.exec(version);
if (!match) {
Expand Down

0 comments on commit 19b0c60

Please sign in to comment.