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=")
3333cd /tmp
3434
3535# 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}
3837
3938UNAME_ARCH=$( uname -m)
4039if [ $UNAME_ARCH == ' aarch64' ]; then
@@ -49,8 +48,8 @@ if [ $ID == 'ubuntu' ]; then
4948 $SUDO apt install -y /tmp/* .deb
5049
5150elif [ $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
5453 $SUDO apk add --allow-untrusted /tmp/* .apk
5554
5655elif [ $ID == ' "centos"' ]; then
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ DEPS_PREFIX=${CACHE_DIR_DEPS}/install
3737
3838# ##############################################################################
3939
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
4241tar xfz apache-pulsar-client-cpp-${PULSAR_CPP_VERSION} .tar.gz
4342
4443if [ ! -f apache-pulsar-client-cpp-${PULSAR_CPP_VERSION} /.done ]; then
You can’t perform that action at this time.
0 commit comments