Skip to content

Fix: changelog commits without body#3

Merged
aichbauer merged 1 commit intomasterfrom
fix/changelogBody
Jun 26, 2017
Merged

Fix: changelog commits without body#3
aichbauer merged 1 commit intomasterfrom
fix/changelogBody

Conversation

@aichbauer
Copy link
Owner

No description provided.

@coveralls
Copy link

coveralls commented Jun 26, 2017

Coverage Status

Coverage remained the same at 96.203% when pulling 1159938 on fix/changelogBody into 656ead8 on master.

Copy link
Collaborator

@JPeer264 JPeer264 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

const commitInfo = gitCommitInfo({ commit: commithash, cwd });

stream.write(`* ${commitInfo.shortHash} ${commitInfo.message} (${commitInfo.author})\n`);
stream.write(`* ${commitInfo.shortHash} ${commitInfo.message.split('\n')[0]} (${commitInfo.author})\n`);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only thing what would not work is, if the commit message is longer than 72 characters. GitHub will automatically make a break. But it is hard to detect except if its a squash in a PR.

@aichbauer aichbauer merged commit 1a02c2c into master Jun 26, 2017
@aichbauer aichbauer deleted the fix/changelogBody branch June 27, 2017 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants