Skip to content

Commit

Permalink
Merge pull request #7 from colegleason/fix-tags
Browse files Browse the repository at this point in the history
fix(git_changelog_generate): pass tag if it exists to gitReadLog
  • Loading branch information
Rafael Pedrola Gimeno committed Jan 28, 2014
2 parents 2a712b9 + 7c80192 commit 1d4f604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/git_changelog_generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ var generate = function(params) {

if(typeof(tag) !== 'undefined'){
console.log('Reading git log since', tag);
fn = function(){ return readGitLog(GIT_LOG_CMD);};
fn = function(){ return readGitLog(GIT_LOG_CMD, tag);};
}else{
console.log('Reading git log since the beggining');
fn = function(){ return readGitLog(GIT_NOTAG_LOG_CMD);};
Expand Down

0 comments on commit 1d4f604

Please sign in to comment.