Commit 8e3e2a19 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@61255 954022d7-b5bf-4e40-9824-e11837661b57
parent 7426f583
......@@ -177,7 +177,9 @@ module.exports = function(grunt) {
grunt.log.ok('Use Jenkins build number as sdk-all build number!'.yellow);
packageFile['info']['build'] = parseInt(process.env['BUILD_NUMBER']);
pkg.info.build = packageFile['info']['build'];
pkg.info.rev = process.env['SVN_REVISION'];
}
if(undefined !== process.env['SVN_REVISION']){
packageFile['info']['rev'] = process.env['SVN_REVISION'];
}
grunt.file.write(defaultConfig, JSON.stringify(pkg, null, 4));
});
......
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