diff --git a/sbtdynver/src/sbt-test/dynver/custom-version-string-0/build.sbt b/sbtdynver/src/sbt-test/dynver/custom-version-string-0/build.sbt index 1d19db1..86e07f0 100644 --- a/sbtdynver/src/sbt-test/dynver/custom-version-string-0/build.sbt +++ b/sbtdynver/src/sbt-test/dynver/custom-version-string-0/build.sbt @@ -22,6 +22,8 @@ TaskKey[Unit]("checkOnTagAndCommitDirty") := check(version.value, s"1.0.0-1-${he TaskKey[Unit]("gitInitSetup") := { implicit def log2log(log: Logger): scala.sys.process.ProcessLogger = sbtLoggerToScalaSysProcessLogger(log) + IO.writeLines(baseDirectory.value / ".gitignore", List("target", ".bsp")) + "git config --global init.defaultBranch main".!!(streams.value.log) "git init".!!(streams.value.log) "git config user.email dynver@mailinator.com".!!(streams.value.log) "git config user.name dynver".!!(streams.value.log) diff --git a/sbtdynver/src/sbt-test/dynver/custom-version-string/build.sbt b/sbtdynver/src/sbt-test/dynver/custom-version-string/build.sbt index e8256a9..d6bfa19 100644 --- a/sbtdynver/src/sbt-test/dynver/custom-version-string/build.sbt +++ b/sbtdynver/src/sbt-test/dynver/custom-version-string/build.sbt @@ -35,6 +35,8 @@ TaskKey[Unit]("checkOnTagAndCommitDirty") := check(version.value, s"1.0.0-1-${he TaskKey[Unit]("gitInitSetup") := { implicit def log2log(log: Logger): scala.sys.process.ProcessLogger = sbtLoggerToScalaSysProcessLogger(log) + IO.writeLines(baseDirectory.value / ".gitignore", List("target", ".bsp")) + "git config --global init.defaultBranch main".!!(streams.value.log) "git init".!!(streams.value.log) "git config user.email dynver@mailinator.com".!!(streams.value.log) "git config user.name dynver".!!(streams.value.log) diff --git a/sbtdynver/src/sbt-test/dynver/distance-separator/build.sbt b/sbtdynver/src/sbt-test/dynver/distance-separator/build.sbt index 483fae3..0690407 100644 --- a/sbtdynver/src/sbt-test/dynver/distance-separator/build.sbt +++ b/sbtdynver/src/sbt-test/dynver/distance-separator/build.sbt @@ -21,6 +21,8 @@ TaskKey[Unit]("checkOnTagAndCommitDirty") := check(version.value, s"1.0.0-1-${he TaskKey[Unit]("gitInitSetup") := { implicit def log2log(log: Logger): scala.sys.process.ProcessLogger = sbtLoggerToScalaSysProcessLogger(log) + IO.writeLines(baseDirectory.value / ".gitignore", List("target", ".bsp")) + "git config --global init.defaultBranch main".!!(streams.value.log) "git init".!!(streams.value.log) "git config user.email dynver@mailinator.com".!!(streams.value.log) "git config user.name dynver".!!(streams.value.log) diff --git a/sbtdynver/src/sbt-test/dynver/versions/build.sbt b/sbtdynver/src/sbt-test/dynver/versions/build.sbt index cb53a58..0099f59 100644 --- a/sbtdynver/src/sbt-test/dynver/versions/build.sbt +++ b/sbtdynver/src/sbt-test/dynver/versions/build.sbt @@ -19,6 +19,8 @@ TaskKey[Unit]("checkOnTagAndCommitDirty") := check(version.value, s"1.0.0+1-${he TaskKey[Unit]("gitInitSetup") := { implicit def log2log(log: Logger): scala.sys.process.ProcessLogger = sbtLoggerToScalaSysProcessLogger(log) + IO.writeLines(baseDirectory.value / ".gitignore", List("target", ".bsp")) + "git config --global init.defaultBranch main".!!(streams.value.log) "git init".!!(streams.value.log) "git config user.email dynver@mailinator.com".!!(streams.value.log) "git config user.name dynver".!!(streams.value.log)