Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef3569e

Browse files
committed
chore(grunt): support RCs in version numbers
1 parent f310bcc commit ef3569e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grunt/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626
full: fullVersion,
2727
major: semver[0],
2828
minor: semver[1],
29-
dot: semver[2],
29+
dot: semver[2].replace(/rc\d+/, ''),
3030
codename: package.codename,
3131
cdn: package.cdnVersion
3232
};

0 commit comments

Comments
 (0)