diff --git a/ivy/src/main/scala/sbt/ConvertResolver.scala b/ivy/src/main/scala/sbt/ConvertResolver.scala index 3771266aa..a01a51380 100644 --- a/ivy/src/main/scala/sbt/ConvertResolver.scala +++ b/ivy/src/main/scala/sbt/ConvertResolver.scala @@ -253,7 +253,7 @@ private[sbt] object ConvertResolver { if (totalLength > 0) { progress.setTotalLength(totalLength); } - FileUtil.copy(source, new java.io.File(url.toURI), progress) + FileUtil.copy(source, new java.io.File(url.toURI), progress, overwrite) } catch { case ex: IOException => fireTransferError(ex) diff --git a/notes/0.13.9/overwrite.markdown b/notes/0.13.9/overwrite.markdown new file mode 100644 index 000000000..98f96c1a1 --- /dev/null +++ b/notes/0.13.9/overwrite.markdown @@ -0,0 +1,11 @@ + + [@asflierl]: http://github.com/asflierl + [1960]: https://github.com/sbt/sbt/pull/1960 + +### Fixes with compatibility implications + +### Improvements + +### Bug fixes + +- Honor overwrite flag when publishing locally. [#1960][1960] by [@asflierl][@asflierl]