Skip to content

Commit 85fda0f

Browse files
authored
Merge pull request #7292 from dotty-staging/overwrite-staging
Fix #7283: allow overwriting staging area artifacts on publish
2 parents d4d0a21 + fbf0ed5 commit 85fda0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project/Build.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,8 @@ object Build {
11641164
publishMavenStyle := true,
11651165
isSnapshot := version.value.contains("SNAPSHOT"),
11661166
publishTo := sonatypePublishToBundle.value,
1167+
publishConfiguration ~= (_.withOverwrite(true)),
1168+
publishLocalConfiguration ~= (_.withOverwrite(true)),
11671169
publishArtifact in Test := false,
11681170
homepage := Some(url(dottyGithubUrl)),
11691171
licenses += ("BSD New",

0 commit comments

Comments
 (0)