diff options
| author | Igor Minar | 2013-08-13 16:57:52 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-08-14 12:02:44 -0700 |
| commit | 7215afa21c91c33c924a5aba7f3a704983642897 (patch) | |
| tree | 3d87c7808fa65bff34773300920695cac6c794d0 /lib | |
| parent | 90979061e837c21e23350dbaaf3060f54ab8fcec (diff) | |
| download | angular.js-7215afa21c91c33c924a5aba7f3a704983642897.tar.bz2 | |
chore(ngdocs): fixup the docs version switcher
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/grunt/utils.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 13150e29..ff2c6e1d 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -22,9 +22,7 @@ module.exports = { var hash = shell.exec('git rev-parse --short HEAD', {silent: true}).output.replace('\n', ''); var fullVersion = (match[1] + (match[2] ? '-' + hash : '')); - var numVersion = semver[0] + '.' + semver[1] + '.' + semver[2]; version = { - number: numVersion, full: fullVersion, major: semver[0], minor: semver[1], |
