File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ export $(cat /etc/*-release | grep "^ID=")
33
33
cd /tmp
34
34
35
35
# Fetch the client binaries
36
- # # TODO: Fetch from official release once it's available
37
- BASE_URL=https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-cpp-${CPP_CLIENT_VERSION} -candidate-2
36
+ BASE_URL=https://dist.apache.org/repos/dist/release/pulsar/pulsar-client-cpp-${CPP_CLIENT_VERSION}
38
37
39
38
UNAME_ARCH=$( uname -m)
40
39
if [ $UNAME_ARCH == ' aarch64' ]; then
@@ -49,8 +48,8 @@ if [ $ID == 'ubuntu' ]; then
49
48
$SUDO apt install -y /tmp/* .deb
50
49
51
50
elif [ $ID == ' alpine' ]; then
52
- curl -L -O ${BASE_URL} /apk-${PLATFORM} /apache-pulsar-client-${CPP_CLIENT_VERSION} -r0.apk
53
- curl -L -O ${BASE_URL} /apk-${PLATFORM} /apache-pulsar-client-dev-${CPP_CLIENT_VERSION} -r0.apk
51
+ curl -L -O ${BASE_URL} /apk-${PLATFORM} /${UNAME_ARCH} / apache-pulsar-client-${CPP_CLIENT_VERSION} -r0.apk
52
+ curl -L -O ${BASE_URL} /apk-${PLATFORM} /${UNAME_ARCH} / apache-pulsar-client-dev-${CPP_CLIENT_VERSION} -r0.apk
54
53
$SUDO apk add --allow-untrusted /tmp/* .apk
55
54
56
55
elif [ $ID == ' "centos"' ]; then
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ DEPS_PREFIX=${CACHE_DIR_DEPS}/install
37
37
38
38
# ##############################################################################
39
39
40
- # # TODO: Fetch from official release
41
- curl -O -L https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-cpp-${PULSAR_CPP_VERSION} -candidate-2/apache-pulsar-client-cpp-${PULSAR_CPP_VERSION} .tar.gz
40
+ curl -O -L https://dist.apache.org/repos/dist/release/pulsar/pulsar-client-cpp-${PULSAR_CPP_VERSION} /apache-pulsar-client-cpp-${PULSAR_CPP_VERSION} .tar.gz
42
41
tar xfz apache-pulsar-client-cpp-${PULSAR_CPP_VERSION} .tar.gz
43
42
44
43
if [ ! -f apache-pulsar-client-cpp-${PULSAR_CPP_VERSION} /.done ]; then
You can’t perform that action at this time.
0 commit comments