message: feat: output commit hash. closes
diff: @@ -172,6 +172,13 @@ gulp.task('forceprettier', function(done) {
  runPrettier('git ls-files', done);
  });
  +gulp.task('commit-hash', function(done) {
  + git.revParse({ args: 'HEAD', quiet: true }, function(err, hash) {
  + require('fs').writeFileSync('out/version', hash);
  + done();
  + });
  +});
  +
  // test
  gulp.task('test', function(done) {
  // the flag --grep takes js regex as a string and filters by test and test suite names
  @@ -224,7 +231,7 @@ gulp.task('test', function(done) {
  });
  });
  -gulp.task('build', gulp.series('prettier', gulp.parallel('tsc', 'tslint')));
  +gulp.task('build', gulp.series('prettier', gulp.parallel('tsc', 'tslint'), 'commit-hash'));
  gulp.task('changelog', gulp.series(validateArgs, createChangelog));
  gulp.task(
  'release',
  