You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xi...@apache.org on 2023/03/04 04:11:47 UTC
[pulsar] branch fix/release_shell created (now 6072d9c2588)
This is an automated email from the ASF dual-hosted git repository.
xiangying pushed a change to branch fix/release_shell
in repository https://gitbox.apache.org/repos/asf/pulsar.git
at 6072d9c2588 [fix][cli] Fix release tool ## Modification 1. Upgrade python to python3 2. Remove the cpp-related command
This branch includes the following new commits:
new 6072d9c2588 [fix][cli] Fix release tool ## Modification 1. Upgrade python to python3 2. Remove the cpp-related command
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[pulsar] 01/01: [fix][cli] Fix release tool ## Modification 1. Upgrade python to python3 2. Remove the cpp-related command
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiangying pushed a commit to branch fix/release_shell
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 6072d9c2588d019008d2d22d4c8fff87c560cdb5
Author: xiangying <19...@qq.com>
AuthorDate: Sat Mar 4 12:11:35 2023 +0800
[fix][cli] Fix release tool
## 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