File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -289,8 +289,11 @@ object Build {
289289 Some ((packageBin in (`dotty-sbt-bridge`, Compile )).value)
290290 },
291291
292- // Use the same name as the non-bootstrapped projects for the artifacts
293- moduleName ~= { _.stripSuffix(" -bootstrapped" ) },
292+ // Use the same name as the non-bootstrapped projects for the artifacts.
293+ // Remove the `js` suffix because JS artifacts are published using their special crossVersion.
294+ // The order of the two `stripSuffix`es is important, so that
295+ // dotty-library-bootstrappedjs becomes dotty-library.
296+ moduleName ~= { _.stripSuffix(" js" ).stripSuffix(" -bootstrapped" ) },
294297
295298 // Enforce that the only Scala 2 classfiles we unpickle come from scala-library
296299 /*
You can’t perform that action at this time.
0 commit comments