From ed90bf595ef91acbaf2c87cc1a756220de551d98 Mon Sep 17 00:00:00 2001 From: Shawn Yang Date: Sun, 3 Nov 2024 23:30:51 +0800 Subject: [PATCH] chore(scala): add scala build script (#1920) ## What does this PR do? add scala build script ## Related issues ## Does this PR introduce any user-facing change? - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark --- ci/deploy.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ci/deploy.sh b/ci/deploy.sh index 7021e581b4..e514848c00 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -136,6 +136,16 @@ install_pyarrow() { pip install pyarrow==$pyarrow_version } +deploy_scala() { + echo "Start to build jars" + sbt +publishSigned + echo "Start to prepare upload" + sbt sonatypePrepare + echo "Start to upload jars" + sbt sonatypeBundleUpload + echo "Deploy scala jars succeed!" +} + case "$1" in java) # Deploy jars to maven repository. deploy_jars