chore(travis): make sure it always generates changelog from last release

This commit is contained in:
Andy Joslin
2014-04-23 11:19:19 -06:00
parent c84406c6dc
commit 602b5b0cb2
2 changed files with 5 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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 \