mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(travis): make sure it always generates changelog from last release
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user