Get the version and build number from env vars.

This commit is contained in:
Alexey.Golubev 2016-04-11 19:59:52 +03:00
parent 7057128636
commit 9a04516194

View file

@ -173,7 +173,7 @@ module.exports = function(grunt) {
' *\n' +
' * <%= pkg.homepage %> \n' +
' *\n' +
' * Version: <%= pkg.version %> (build:<%= pkg.build %>, rev:' + (process.env['GIT_COMMIT'] || 'local') + ')\n' +
' * Version: ' + process.env['PRODUCT_VERSION'] + ' (build:' + process.env['BUILD_NUMBER'] + ')\n' +
' */\n'
},
dist: {