We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 300645d commit ae9b17eCopy full SHA for ae9b17e
src/main/scala/com/typesafe/sbt/git/GitRunner.scala
@@ -9,7 +9,7 @@ trait GitRunner {
9
*/
10
def apply(args: String*)(cwd: File, log: Logger): String
11
/** Commits all local changes and pushes the new commit to a remote repository. */
12
- def commitAndPush(msg: String, tag: Option[String] = None)(repo: File, log: Logger) {
+ def commitAndPush(msg: String, tag: Option[String] = None)(repo: File, log: Logger): Unit = {
13
apply("add", ".")(repo, log)
14
apply("commit", "-m", msg, "--allow-empty")(repo, log)
15
for(tagString <- tag) apply("tag", tagString)(repo, log)
0 commit comments