You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by et...@apache.org on 2023/01/03 08:19:49 UTC

[incubator-celeborn] branch branch-0.2 updated: [CELEBORN-180][FOLLOWUP] Script for creating binary release artifact (#1129)

This is an automated email from the ASF dual-hosted git repository.

ethanfeng pushed a commit to branch branch-0.2
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/branch-0.2 by this push:
     new 6c3709ce [CELEBORN-180][FOLLOWUP] Script for creating binary release artifact (#1129)
6c3709ce is described below

commit 6c3709ce13aa5172fe1c026e14728663ddab7ef3
Author: Ethan Feng <et...@apache.org>
AuthorDate: Tue Jan 3 16:19:39 2023 +0800

    [CELEBORN-180][FOLLOWUP] Script for creating binary release artifact (#1129)
---
 build/make-distribution.sh | 2 +-
 build/release/release.sh   | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/build/make-distribution.sh b/build/make-distribution.sh
index c96ff3d0..10cf1caa 100755
--- a/build/make-distribution.sh
+++ b/build/make-distribution.sh
@@ -186,7 +186,7 @@ function build_spark_client {
 }
 
 if [ "$RELEASE" == "true" ]; then
-  build_service
+  build_service -Pspark-3.3
   build_spark_client -Pspark-2.4
   build_spark_client -Pspark-3.3
 else
diff --git a/build/release/release.sh b/build/release/release.sh
index a7c5ded4..4ab42516 100755
--- a/build/release/release.sh
+++ b/build/release/release.sh
@@ -21,6 +21,8 @@ set -o pipefail
 set -e
 set -x
 
+PROJECT_DIR="$(cd "$(dirname "$0")"/../..; pwd)"
+
 ASF_USERNAME=${ASF_USERNAME:?"ASF_USERNAME is required"}
 ASF_PASSWORD=${ASF_PASSWORD:?"ASF_PASSWORD is required"}
 RELEASE_RC_NO=${RELEASE_RC_NO:?"RELEASE_RC_NO is required, e.g. 0"}