Skip to content

Commit

Permalink
Even more logs for CI Builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanaye committed Feb 1, 2017
1 parent 56b073f commit ec809e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/tasks/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ module.exports = function (grunt) {
}).then(function (parent) {
return repository.createCommit('HEAD', author, author, '[ci skip] Build Version ' + version, oid, [parent]);
}).then(function (id) {
grunt.log.writeln('Created commit ' + id + 'for ' + version);
return Git.Tag.create(repository, version, id, author, 'Release v'+version, 0); // 0 = don't force tag creation
}).then(function () {
grunt.log.writeln('Created tag ' + version);
return repository.getRemote('origin');
})
.then(function (remote) {
Expand Down Expand Up @@ -204,6 +206,7 @@ module.exports = function (grunt) {
done();
}).catch(function (e) {
grunt.log.error(e);
grunt.log.error(e.stack());
done(false);
});
});
Expand Down

0 comments on commit ec809e0

Please sign in to comment.