File tree 1 file changed +6
-1
lines changed
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 {
36
36
}
37
37
case class ResolvedArtifacts (id : SimpleModuleId , jar : File , pom : File )
38
38
39
+ val isRelease = sys.env.get(" RELEASEBUILD" ) == Some (" yes" )
40
+
39
41
override val projectSettings : Seq [Def .Setting [_]] = Def .settings(
40
42
republishLocalResolved / republishProjectRefs := {
41
43
val proj = thisProjectRef.value
@@ -87,7 +89,10 @@ object RepublishPlugin extends AutoPlugin {
87
89
88
90
localResolved.foreach({ resolved =>
89
91
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" )
91
96
found(simpleId) = resolved
92
97
})
93
98
You can’t perform that action at this time.
0 commit comments