docs: function(project, versions) {
      var filePath = path.join(project.root, 'vendor/ember-flexberry/register-version.js');
      if (fs.existsSync(filePath)) {
        var contents = fs.readFileSync(filePath, {
          encoding: 'utf8'
        });
  
        // Version string without 'v' tag prefix.
        var newVersion = versions.next.replace(/^v/, '');
  
        // Replace version number in line "var version = 'x.x.x';".
        contents = contents.replace(/(version = ')(.+)(';)/, '$1' + newVersion + '$3');
  
        fs.writeFileSync(filePath, contents, {
          encoding: 'utf8'
        });
      } else {
        throw new Error('File not found: ' + filePath);
      }
    }