You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2022/10/12 00:51:36 UTC

[pulsar-client-cpp] 01/01: [docs] Fix compilation guidance on Ubuntu (#34)

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

mmerli pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git

commit da979ed9f829bd75dd8a68bf4cf848cd6ce44886
Author: Yunze Xu <xy...@163.com>
AuthorDate: Tue Oct 11 01:42:29 2022 +0800

    [docs] Fix compilation guidance on Ubuntu (#34)
---
 build-support/stage-release.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/build-support/stage-release.sh b/build-support/stage-release.sh
index d435ca2..93b5c41 100755
--- a/build-support/stage-release.sh
+++ b/build-support/stage-release.sh
@@ -25,8 +25,8 @@ if [ $# -neq 2 ]; then
     exit 1
 fi
 
-DEST_PATH=$1
-WORKFLOW_ID=$1
+DEST_PATH=$(readlink -f $1)
+WORKFLOW_ID=$2
 
 pushd $(dirname "$0")
 PULSAR_CPP_PATH=$(git rev-parse --show-toplevel)
@@ -34,8 +34,7 @@ popd
 
 mkdir -p $DEST_PATH
 
-cd PULSAR_CPP_PATH
-VERSION=$(cat version.txt | xargs)
+cd $PULSAR_CPP_PATH
 
 build-support/generate-source-archive.sh $DEST_PATH
 build-support/download-release-artifacts.py $WORKFLOW_ID $DEST_PATH