title: Gulp - recompile a bumped version for tagging
body: <p>Regarding an <a href="https://github.com/ikari-pl/gulp-tag-version/issues/4" rel="nofollow">issue I am having with gulp-tag-version</a>, the README there suggests:</p>
  
  <pre><code>function inc(importance) {
      // get all the files to bump version in
      return gulp.src(['./package.json', './bower.json']) 
          // bump the version number in those files
          .pipe(bump({type: importance}))
          // save it back to filesystem
          .pipe(gulp.dest('./'))
  
          /*  Recompile the Javascript here */
  
          // commit the changed version number
          .pipe(git.commit('bumps package version')) 
          // read only one file to get the version number
          .pipe(filter('package.json'))
          // **tag it in the repository**
          .pipe(tag_version()) 
  }
  
  gulp.task('patch', function() { return inc('patch'); })
  gulp.task('feature', function() { return inc('minor'); })
  gulp.task('release', function() { return inc('major'); })
  </code></pre>
  
  <p>I would like to recompile some Javascript between the version being bumped and git tagging it. I have a task for that, <code>js</code>, but it is not clear how one can call the <code>js</code> task (or otherwise re-order the bump/tag tasks) to accomplish this common and desirable outcome (i.e. having the version in the headers of your compiled code).</p>
  
  <p>It is also worth noting that if one had three tasks <code>bump</code>, <code>compile</code> and <code>tag</code>, the <code>bump</code> of the <code>package.json</code> appears to be cached and not re-read by a separate <code>tag</code> task.</p>