Commit 7426f583 authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Добавлен номер ревизии в шапку. В шапке поменял годв копирайте и урл на сайт.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61254 954022d7-b5bf-4e40-9824-e11837661b57
parent cd5e1b0b
...@@ -177,6 +177,7 @@ module.exports = function(grunt) { ...@@ -177,6 +177,7 @@ module.exports = function(grunt) {
grunt.log.ok('Use Jenkins build number as sdk-all build number!'.yellow); grunt.log.ok('Use Jenkins build number as sdk-all build number!'.yellow);
packageFile['info']['build'] = parseInt(process.env['BUILD_NUMBER']); packageFile['info']['build'] = parseInt(process.env['BUILD_NUMBER']);
pkg.info.build = packageFile['info']['build']; pkg.info.build = packageFile['info']['build'];
pkg.info.rev = process.env['SVN_REVISION'];
} }
grunt.file.write(defaultConfig, JSON.stringify(pkg, null, 4)); grunt.file.write(defaultConfig, JSON.stringify(pkg, null, 4));
}); });
...@@ -259,7 +260,8 @@ module.exports = function(grunt) { ...@@ -259,7 +260,8 @@ module.exports = function(grunt) {
options: { options: {
variables: { variables: {
Version: packageFile['info']['version'], Version: packageFile['info']['version'],
Build: packageFile['info']['build'].toString() Build: packageFile['info']['build'].toString(),
Rev: packageFile['info']['rev'].toString()
} }
}, },
files: { files: {
......
/** /**
* @license Copyright (c) Ascensio System SIA 2012-2014. All rights reserved * @license Copyright (c) Ascensio System SIA 2012-2015. All rights reserved
* *
* http://www.teamlab.com * http://www.onlyoffice.com
* *
* Version: @@Version (build:@@Build) * Version: @@Version (build:@@Build, rev:@@Rev)
*/ */
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment