Permalink
Browse files

fix(release): version parser is fixed for `rc.#` syntax

  • Loading branch information...
1 parent bfd17c2 commit 8568ceeaf50ca4d46e1f71371982b61b5e0f4c41 @robertmesserle robertmesserle committed with ThomasBurleson Jul 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 release.js
View
@@ -153,7 +153,7 @@
return getVersionString(version);
function parseVersion (version) {
- var parts = version.split(/\.|\-rc/g);
+ var parts = version.split(/\-rc\.|\./g);
return {
string: version,
major: parts[ 0 ],

0 comments on commit 8568cee

Please sign in to comment.