diff --git a/gulpfile.js b/gulpfile.js index 9d933e2df1..e0d99aa1c9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -72,11 +72,13 @@ gulp.task('changelog', function(done) { var subtitle = argv.subtitle || '"' + pkg.codename + '"'; var toHtml = !!argv.html; var dest = argv.dest || 'CHANGELOG.md'; + var from = argv.from; changelog({ repository: 'https://github.com/driftyco/ionic', version: pkg.version, subtitle: subtitle, - file: file + file: file, + from: from }, function(err, data) { if (err) return done(err); if (toHtml) { diff --git a/scripts/travis/ci.sh b/scripts/travis/ci.sh index 5fddbbb47f..9b91ca0e4c 100755 --- a/scripts/travis/ci.sh +++ b/scripts/travis/ci.sh @@ -97,7 +97,8 @@ function run { gulp changelog --no-prepend \ --html=true \ --subtitle="(changes since $OLD_VERSION)" \ - --dest="dist/CHANGELOG.html" + --dest="dist/CHANGELOG.html" \ + --version="$OLD_VERSION" fi ./scripts/site/publish.sh \