aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-03-18 10:43:17 +0000
committerVojta Jina2014-03-21 11:42:18 -0700
commitca69dc6f1779221ffe01ac5542afc4433ab41a05 (patch)
tree9b22775b2633a2de9ccc03650d142420ec0cd0af
parent5b7f1bcc009ac5574da39b25859de3ed3b48abf5 (diff)
downloadangular.js-ca69dc6f1779221ffe01ac5542afc4433ab41a05.tar.bz2
chore(utils): fix version number processing
The changes to version-info meant that the version being injected into the code at build time was missing the "dot" (patch) version and the release code-name.
-rw-r--r--lib/grunt/utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js
index b25a4555..c00147fe 100644
--- a/lib/grunt/utils.js
+++ b/lib/grunt/utils.js
@@ -149,9 +149,9 @@ module.exports = {
.replace(/"NG_VERSION_FULL"/g, NG_VERSION.full)
.replace(/"NG_VERSION_MAJOR"/, NG_VERSION.major)
.replace(/"NG_VERSION_MINOR"/, NG_VERSION.minor)
- .replace(/"NG_VERSION_DOT"/, NG_VERSION.dot)
+ .replace(/"NG_VERSION_DOT"/, NG_VERSION.patch)
.replace(/"NG_VERSION_CDN"/, NG_VERSION.cdn)
- .replace(/"NG_VERSION_CODENAME"/, NG_VERSION.codename);
+ .replace(/"NG_VERSION_CODENAME"/, NG_VERSION.codeName);
if (strict !== false) processed = this.singleStrict(processed, '\n\n', true);
return processed;
},