Skip to content

Commit

Permalink
Hotfix to release 3.5.0-RC1 (#20407)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordyjan authored May 14, 2024
2 parents b109829 + 55bab4f commit 3c4e17a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion project/RepublishPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ object RepublishPlugin extends AutoPlugin {
}
case class ResolvedArtifacts(id: SimpleModuleId, jar: File, pom: File)

val isRelease = sys.env.get("RELEASEBUILD") == Some("yes")

override val projectSettings: Seq[Def.Setting[_]] = Def.settings(
republishLocalResolved / republishProjectRefs := {
val proj = thisProjectRef.value
Expand Down Expand Up @@ -87,7 +89,10 @@ object RepublishPlugin extends AutoPlugin {

localResolved.foreach({ resolved =>
val simpleId = resolved.id
evicted += simpleId.copy(revision = simpleId.revision + "-nonbootstrapped")
if(isRelease)
evicted += simpleId.copy(revision = simpleId.revision + "-bin-nonbootstrapped")
else
evicted += simpleId.copy(revision = simpleId.revision + "-nonbootstrapped")
found(simpleId) = resolved
})

Expand Down

0 comments on commit 3c4e17a

Please sign in to comment.