From c79a88e131b99aff5c402418e11a97061f7dcfa5 Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Tue, 29 Apr 2014 06:43:20 -0600 Subject: [PATCH] chore(travis): prepend to changelog by default --- gulpfile.js | 2 +- scripts/travis/ci.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e0d99aa1c90..954725dcdfa 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -68,7 +68,7 @@ gulp.task('watch', ['build'], function() { }); gulp.task('changelog', function(done) { - var file = argv.prepend ? __dirname + '/CHANGELOG.md' : ''; + var file = argv.standalone ? '' : __dirname + '/CHANGELOG.md'; var subtitle = argv.subtitle || '"' + pkg.codename + '"'; var toHtml = !!argv.html; var dest = argv.dest || 'CHANGELOG.md'; diff --git a/scripts/travis/ci.sh b/scripts/travis/ci.sh index 55f814a8dd5..509a802a10c 100755 --- a/scripts/travis/ci.sh +++ b/scripts/travis/ci.sh @@ -94,7 +94,7 @@ function run { VERSION_NAME="nightly" - gulp changelog --no-prepend \ + gulp changelog --standalone \ --html=true \ --subtitle="(changes since $OLD_VERSION)" \ --dest="dist/CHANGELOG.html" \