Skip to content

Commit

Permalink
Merge pull request #19 from olafurpg/overwrite
Browse files Browse the repository at this point in the history
Allow overwrite = true when publishing
  • Loading branch information
olafurpg authored Sep 5, 2018
2 parents d5431b3 + 449ddac commit 12587ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ object CiReleasePlugin extends AutoPlugin {
)

override def projectSettings: Seq[Def.Setting[_]] = List(
publishConfiguration :=
publishConfiguration.value.withOverwrite(true),
publishLocalConfiguration :=
publishLocalConfiguration.value.withOverwrite(true),
publishTo := sonatypePublishTo.value
)

Expand Down

0 comments on commit 12587ff

Please sign in to comment.