Skip to content

Commit

Permalink
minor changes to commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
stbaer committed Jan 27, 2017
1 parent 8710055 commit 394d7a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/gf-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ const finishRelease = () => {
const onHistoryDone = commitCommand => {
if (config.buildCommand) {
build();
commitCommand += 'updated build;';
commitCommand += ' updated build;';
}
shellEx(`${commitCommand}"`);
finishRelease();
};

const onVersionsBumped = () => {
const commitCommand = 'git commit -am "bumped versions;';
const commitCommand = 'git commit -am "bumped version(s);';

if (config.historyFile) {
prependToHistoryFile(currentHash, newVersion, config.historyFile)
.then(() => {
onHistoryDone(`${commitCommand} updated History.md`);
onHistoryDone(`${commitCommand} updated History.md;`);
});
} else {
onHistoryDone(commitCommand);
Expand Down

0 comments on commit 394d7a1

Please sign in to comment.