From ca69dc6f1779221ffe01ac5542afc4433ab41a05 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 18 Mar 2014 10:43:17 +0000 Subject: 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. --- lib/grunt/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/grunt/utils.js') 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; }, -- cgit v1.2.3