Skip to content

Commit

Permalink
fix: fix publish to central maven (#1233)
Browse files Browse the repository at this point in the history
* add back publishSigned

* suppress publishing of sub projects

* fix publish of sub projects
  • Loading branch information
serena-ruan authored Nov 2, 2021
1 parent 7059573 commit 9b9c2fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ lazy val core = (project in file("core"))
baseDirectory
),
name := "synapseml-core",
buildInfoPackage := "com.microsoft.azure.synapse.ml.build",
buildInfoPackage := "com.microsoft.azure.synapse.ml.build"
): _*)

lazy val deepLearning = (project in file("deep-learning"))
Expand All @@ -285,7 +285,7 @@ lazy val deepLearning = (project in file("deep-learning"))
"com.microsoft.cntk" % "cntk" % "2.4",
"com.microsoft.onnxruntime" % "onnxruntime_gpu" % "1.8.1"
),
name := "synapseml-deep-learning",
name := "synapseml-deep-learning"
): _*)

lazy val lightgbm = (project in file("lightgbm"))
Expand Down Expand Up @@ -397,7 +397,7 @@ pgpPublicRing := {
}
temp
}
publishTo := sonatypePublishToBundle.value
ThisBuild / publishTo := sonatypePublishToBundle.value

dynverSonatypeSnapshots in ThisBuild := true
dynverSeparator in ThisBuild := "-"
1 change: 1 addition & 0 deletions pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
source activate synapseml
sbt packagePython
sbt publishBlob publishDocs publishR publishPython
sbt publishSigned
sbt genBuildInfo
echo "##vso[task.uploadsummary]$(pwd)/target/Build.md"
sbt release
Expand Down

0 comments on commit 9b9c2fb

Please sign in to comment.