Skip to content

Commit e22cadf

Browse files
author
Greg Van Liew
committed
Add creating updates latest.handlebars from top update.
1 parent 93101a2 commit e22cadf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/gulpfile.releasenotes.js

+8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ gulp.task('compile-releasenotes', ['compile-releasenotes-markdown', 'copy-releas
3939
return parseFloat(b.Order) - parseFloat(a.Order);
4040
});
4141

42+
var latest = new File({
43+
path: 'latest.handlebars',
44+
contents: releasenotes[0].File.contents
45+
});
46+
47+
es.readArray([latest])
48+
.pipe(gulp.dest(DEST_ROOT + '/views/updates'));
49+
4250
var file = new File({
4351
path: 'updateNav.handlebars',
4452
contents: new Buffer(tpl({ articles: releaseNotes }))

0 commit comments

Comments
 (0)