File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ object RepublishPlugin extends AutoPlugin {
3636 }
3737 case class ResolvedArtifacts (id : SimpleModuleId , jar : File , pom : File )
3838
39+ val isRelease = sys.env.get(" RELEASEBUILD" ) == Some (" yes" )
40+
3941 override val projectSettings : Seq [Def .Setting [_]] = Def .settings(
4042 republishLocalResolved / republishProjectRefs := {
4143 val proj = thisProjectRef.value
@@ -87,7 +89,10 @@ object RepublishPlugin extends AutoPlugin {
8789
8890 localResolved.foreach({ resolved =>
8991 val simpleId = resolved.id
90- evicted += simpleId.copy(revision = simpleId.revision + " -nonbootstrapped" )
92+ if (isRelease)
93+ evicted += simpleId.copy(revision = simpleId.revision + " -bin-nonbootstrapped" )
94+ else
95+ evicted += simpleId.copy(revision = simpleId.revision + " -nonbootstrapped" )
9196 found(simpleId) = resolved
9297 })
9398
You can’t perform that action at this time.
0 commit comments