refactor!: simplifying publish logic

This commit is contained in:
2021-12-27 19:56:27 +01:00
parent eb1b6be4c5
commit 0aa37fcee8
10 changed files with 137 additions and 168 deletions

View File

@ -47,9 +47,9 @@ func Commit(repoPath, glob, commitMessage string, dryRun bool) error {
if err != nil {
return err
}
logrus.Info("changes commited")
logrus.Debug("git changes commited")
} else {
logrus.Info("dry run: no changes commited")
logrus.Debug("dry run: no changes commited")
}
return nil