Skip to content

Commit

Permalink
Merge pull request #10 from VirtusLab/fix-publish
Browse files Browse the repository at this point in the history
Adjust ghOrg to virtuslab
  • Loading branch information
lwronski authored Mar 8, 2023
2 parents 23df0a8 + 5f3bd2b commit 7ac418e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ object tests extends ScalaModule {
}
}

def ghOrg = "scala-cli"
def ghOrg = "virtuslab"
def ghName = "scala-js-cli"
trait ScalaJsCliPublishModule extends PublishModule {
import mill.scalalib.publish._
Expand Down Expand Up @@ -362,9 +362,9 @@ object ci extends Module {
if (version.endsWith("-SNAPSHOT")) ("launchers", true)
else ("v" + version, false)

Upload.upload("scala-cli", "scala-js-cli", ghToken, tag, dryRun = false, overwrite = overwriteAssets)(launchers: _*)
Upload.upload(ghOrg, ghName, ghToken, tag, dryRun = false, overwrite = overwriteAssets)(launchers: _*)
if(version != scalaJsVersion) // when we release `0.13.0.1` we should also update native launchers in tag `0.13.0`
Upload.upload("scala-cli", "scala-js-cli", ghToken, s"v$scalaJsVersion", dryRun = false, overwrite = true)(launchers: _*)
Upload.upload(ghOrg, ghName, ghToken, s"v$scalaJsVersion", dryRun = false, overwrite = true)(launchers: _*)
}
}

Expand Down

0 comments on commit 7ac418e

Please sign in to comment.