Skip to content

basis-company/gulp-head.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-head.js

last commit hash and tag without installing git

install

npm install basis-company/gulp-head.js

gulpfile.js

var head = require('gulp-head');

gulp.task('head', () =>
  gulp.src('.git/HEAD')
    .pipe(head())
    .pipe(gulp.dest('build'))
);

result

build/revision.txt
fc526b6c7f9ea0a8148f144e430e9f3593ba5a1b
build/version.txt
2.5.8