Skip to content

Commit ad60df3

Browse files
authored
Merge pull request #11 from VirtusLab/fix-publish
Remove Scala.js version from native launcher name
2 parents 7ac418e + eb9561c commit ad60df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sc

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ trait ScalaJsCliNativeImage extends ScalaModule with NativeImage {
125125
val _ = Upload.copyLauncher(
126126
nativeImage().path,
127127
directory,
128-
s"scala-js-ld-$scalaJsVersion",
128+
s"scala-js-ld",
129129
compress = true,
130130
suffix = nameSuffix
131131
)
@@ -363,7 +363,7 @@ object ci extends Module {
363363
else ("v" + version, false)
364364

365365
Upload.upload(ghOrg, ghName, ghToken, tag, dryRun = false, overwrite = overwriteAssets)(launchers: _*)
366-
if(version != scalaJsVersion) // when we release `0.13.0.1` we should also update native launchers in tag `0.13.0`
366+
if(version != scalaJsVersion && !version.endsWith("-SNAPSHOT")) // when we release `0.13.0.1` we should also update native launchers in tag `0.13.0`
367367
Upload.upload(ghOrg, ghName, ghToken, s"v$scalaJsVersion", dryRun = false, overwrite = true)(launchers: _*)
368368
}
369369
}

0 commit comments

Comments
 (0)