Skip to content

Commit

Permalink
Merge pull request #8 from VirtusLab/publish-virtuslab
Browse files Browse the repository at this point in the history
Adjust publish org to org.virtuslab.scala-cli
  • Loading branch information
lwronski authored Mar 8, 2023
2 parents b285d50 + 0cb7e27 commit 23df0a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
on:
push:
branches:
- master
- main
tags:
- "v*"
pull_request:
Expand Down
8 changes: 5 additions & 3 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ trait ScalaJsCliPublishModule extends PublishModule {
import mill.scalalib.publish._
def pomSettings = PomSettings(
description = artifactName(),
organization = "io.github.alexarchambault.tmp",
organization = "org.virtuslab.scala-cli",
url = s"https://github.com/$ghOrg/$ghName",
licenses = Seq(License.`BSD-3-Clause`),
versionControl = VersionControl.github(ghOrg, ghName),
Expand Down Expand Up @@ -324,8 +324,8 @@ object ci extends Module {
set.head
}
val publisher = new scalalib.publish.SonatypePublisher(
uri = "https://s01.oss.sonatype.org/service/local",
snapshotUri = "https://s01.oss.sonatype.org/content/repositories/snapshots",
uri = "https://oss.sonatype.org/service/local",
snapshotUri = "https://oss.sonatype.org/content/repositories/snapshots",
credentials = credentials,
signed = true,
// format: off
Expand Down Expand Up @@ -363,6 +363,8 @@ object ci extends Module {
else ("v" + version, false)

Upload.upload("scala-cli", "scala-js-cli", 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: _*)
}
}

Expand Down

0 comments on commit 23df0a8

Please sign in to comment.