pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject [pulsar] branch master updated: '#2823' (#2835)
Date Wed, 24 Oct 2018 22:27:18 GMT
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 db131d2  '#2823' (#2835)
db131d2 is described below

commit db131d2904c43ef11f712935ed7aebaff412cbc1
Author: ybb1798 <ybb1798@hotmail.com>
AuthorDate: Thu Oct 25 06:27:13 2018 +0800

    '#2823' (#2835)
---
 site2/website/pages/en/download.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/site2/website/pages/en/download.js b/site2/website/pages/en/download.js
index 6fd3151..a84bd43 100644
--- a/site2/website/pages/en/download.js
+++ b/site2/website/pages/en/download.js
@@ -21,7 +21,11 @@ function distUrl(version, type) {
 }
 
 function archiveUrl(version, type) {
-    return `https://archive.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+    if (version.includes('incubating')) {
+        return `https://archive.apache.org/dist/incubator/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+    } else {
+        return `https://archive.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+    }
 }
 
 class Download extends React.Component {


Mime
View raw message