title: How to include revisioned files into .html after using gulp-rev?
body: <p>So I've created this task in gulp:</p>
  
  <pre><code>'use strict';
  var gulp = require('gulp');
  var gulpGlobals = require('./_gulp-globals.js');
  var rev = require('gulp-rev');
  var revReplace = require('gulp-rev-replace');
  
  
  gulp.task('gulp-rev', function () {
      var sources = gulpGlobals.src + '/somefolder/**/*.js';
      var fileToInject = gulpGlobals.destination + '/somefolder/script.js';
  
      var outputFolderJs = 'webapp/dist/somefolder';
  
      return gulp.src(fileToInject)
          .pipe(rev())
          .pipe(revReplace())
          .pipe(gulp.dest(outputFolderJs));
  });
  </code></pre>
  
  <p>And it creates additional file named like this for example:
  <code>script-7c58e79612.js</code></p>
  
  <p>But how then do I include it in my html file instead of <code>script.js</code> ?
  So fore example instead of this line in my <code>file.html</code>:</p>
  
  <pre><code>&lt;script type="text/javascript" src="{{ STATIC_URL}}/somefolder/script.js&lt;/script&gt;
  </code></pre>
  
  <p>I could have this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="{{ STATIC_URL}}/somefolder/script-7c58e79612.js&lt;/script&gt;
  </code></pre>