Skip to content

Commit 602b5b0

Browse files
committed
chore(travis): make sure it always generates changelog from last release
1 parent c84406c commit 602b5b0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,13 @@ gulp.task('changelog', function(done) {
7272
var subtitle = argv.subtitle || '"' + pkg.codename + '"';
7373
var toHtml = !!argv.html;
7474
var dest = argv.dest || 'CHANGELOG.md';
75+
var from = argv.from;
7576
changelog({
7677
repository: 'https://github.com/driftyco/ionic',
7778
version: pkg.version,
7879
subtitle: subtitle,
79-
file: file
80+
file: file,
81+
from: from
8082
}, function(err, data) {
8183
if (err) return done(err);
8284
if (toHtml) {

scripts/travis/ci.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ function run {
9797
gulp changelog --no-prepend \
9898
--html=true \
9999
--subtitle="(changes since $OLD_VERSION)" \
100-
--dest="dist/CHANGELOG.html"
100+
--dest="dist/CHANGELOG.html" \
101+
--version="$OLD_VERSION"
101102
fi
102103

103104
./scripts/site/publish.sh \

0 commit comments

Comments
 (0)