commit method
Implementation
void commit(String message) {
'git add CHANGELOG.md'.run;
'git add lib/src/version/version.g.dart'.run;
'git add pubspec.yaml'.run;
/// occasionally there will be nothing commit.
/// this can occur after a failed release when
/// we try re-run the release.
if (isCommitRequired) {
'git commit -m "$message"'.run;
}
}