This is an automated email from the ASF dual-hosted git repository.
xiangying pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.10 by this push:
new c3282bc7ea5 [fix][ci][branch-2.10] Fix the release tools (#19711)
c3282bc7ea5 is described below
commit c3282bc7ea5d26e6095a8e0ee22adb6d99a63a62
Author: Xiangying Meng <[email protected]>
AuthorDate: Sat Apr 1 19:22:42 2023 +0800
[fix][ci][branch-2.10] Fix the release tools (#19711)
## Modification
1. Upgrade python to python3
2. Remove the cpp-related command
---
src/get-project-version.py | 2 +-
src/stage-release.sh | 6 ------
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/get-project-version.py b/src/get-project-version.py
index 631cd68f02a..d0fec36a7ce 100755
--- a/src/get-project-version.py
+++ b/src/get-project-version.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
diff --git a/src/stage-release.sh b/src/stage-release.sh
index 1f90f410f10..0057ac6a7fd 100755
--- a/src/stage-release.sh
+++ b/src/stage-release.sh
@@ -38,12 +38,6 @@ cp
$PULSAR_PATH/distribution/offloaders/target/apache-pulsar-offloaders-$VERSION
cp -r
$PULSAR_PATH/distribution/io/target/apache-pulsar-io-connectors-$VERSION-bin
$DEST_PATH/connectors
-mkdir $DEST_PATH/RPMS
-cp -r $PULSAR_PATH/pulsar-client-cpp/pkg/rpm/RPMS/x86_64/* $DEST_PATH/RPMS
-
-mkdir $DEST_PATH/DEB
-cp -r $PULSAR_PATH/pulsar-client-cpp/pkg/deb/BUILD/DEB/* $DEST_PATH/DEB
-
# Sign all files
cd $DEST_PATH
find . -type f | grep -v LICENSE | grep -v README | xargs
$PULSAR_PATH/src/sign-release.sh