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

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 93f4d41  [pulsar-doc] fix client-libraries-cp download url error 
(#4208)
93f4d41 is described below

commit 93f4d41a52b1add45290f2f834777fd76cb56a87
Author: wpl <[email protected]>
AuthorDate: Sun May 5 23:29:28 2019 +0800

    [pulsar-doc] fix client-libraries-cp download url error (#4208)
---
 site2/docs/client-libraries-cpp.md                                 | 4 ++--
 site2/website/scripts/replace.js                                   | 2 +-
 site2/website/versioned_docs/version-2.3.1/client-libraries-cpp.md | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/site2/docs/client-libraries-cpp.md 
b/site2/docs/client-libraries-cpp.md
index 89a312b..cfe4cc3 100644
--- a/site2/docs/client-libraries-cpp.md
+++ b/site2/docs/client-libraries-cpp.md
@@ -19,8 +19,8 @@ The Pulsar C++ client has been successfully tested on 
**MacOS** and **Linux**.
 
 | Link | Crypto files |
 |------|--------------|
-| [client]({{pulsar:rpm:client}}) | [asc]({{pulsar:dist_rpm:client}}.asc), 
[sha512]({{pulsar:dist_rpm:client}}.sha512) |
-| [client-debuginfo]({{pulsar:rpm:client-debuginfo}}) | 
[asc]({{pulsar:dist_rpm:client-debuginfo}}.asc),  
[sha512]({{pulsar:dist_rpm:client-debuginfo}}.sha512) |
+| [client]({{pulsar:dist_rpm:client}}) | 
[asc]({{pulsar:dist_rpm:client}}.asc), 
[sha512]({{pulsar:dist_rpm:client}}.sha512) |
+| [client-debuginfo]({{pulsar:dist_rpm:client-debuginfo}}) | 
[asc]({{pulsar:dist_rpm:client-debuginfo}}.asc),  
[sha512]({{pulsar:dist_rpm:client-debuginfo}}.sha512) |
 | [client-devel]({{pulsar:dist_rpm:client-devel}}) | 
[asc]({{pulsar:dist_rpm:client-devel}}.asc),  
[sha512]({{pulsar:dist_rpm:client-devel}}.sha512) |
 
 To install a RPM package, download the RPM packages and install them using the 
following command:
diff --git a/site2/website/scripts/replace.js b/site2/website/scripts/replace.js
index 29bb322..a868c70 100644
--- a/site2/website/scripts/replace.js
+++ b/site2/website/scripts/replace.js
@@ -73,7 +73,7 @@ function rpmDistUrl(version, type) {
   if (version.includes('incubating')) {
       return 
`https://archive.apache.org/dist/incubator/pulsar/pulsar-${version}/RPMS/apache-pulsar-client${type}-${rpmVersion}.x86_64.rpm`
   } else {
-      return 
`https://archive.apache.org/dist/pulsar/pulsar-${version}/RPMS/apache-pulsar-client${type}-${rpmVersion}.x86_64.rpm`
+      return 
`https://archive.apache.org/dist/pulsar/pulsar-${version}/RPMS/apache-pulsar-client${type}-${rpmVersion}-1.x86_64.rpm`
   }
 }
 
diff --git a/site2/website/versioned_docs/version-2.3.1/client-libraries-cpp.md 
b/site2/website/versioned_docs/version-2.3.1/client-libraries-cpp.md
index 52fe6d4..1487852 100644
--- a/site2/website/versioned_docs/version-2.3.1/client-libraries-cpp.md
+++ b/site2/website/versioned_docs/version-2.3.1/client-libraries-cpp.md
@@ -20,8 +20,8 @@ The Pulsar C++ client has been successfully tested on 
**MacOS** and **Linux**.
 
 | Link | Crypto files |
 |------|--------------|
-| [client]({{pulsar:rpm:client}}) | [asc]({{pulsar:dist_rpm:client}}.asc), 
[sha512]({{pulsar:dist_rpm:client}}.sha512) |
-| [client-debuginfo]({{pulsar:rpm:client-debuginfo}}) | 
[asc]({{pulsar:dist_rpm:client-debuginfo}}.asc),  
[sha512]({{pulsar:dist_rpm:client-debuginfo}}.sha512) |
+| [client]({{pulsar:dist_rpm:client}}) | 
[asc]({{pulsar:dist_rpm:client}}.asc), 
[sha512]({{pulsar:dist_rpm:client}}.sha512) |
+| [client-debuginfo]({{pulsar:dist_rpm:client-debuginfo}}) | 
[asc]({{pulsar:dist_rpm:client-debuginfo}}.asc),  
[sha512]({{pulsar:dist_rpm:client-debuginfo}}.sha512) |
 | [client-devel]({{pulsar:dist_rpm:client-devel}}) | 
[asc]({{pulsar:dist_rpm:client-devel}}.asc),  
[sha512]({{pulsar:dist_rpm:client-devel}}.sha512) |
 
 To install a RPM package, download the RPM packages and install them using the 
following command:

Reply via email to