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 2018/10/24 22:27:18 UTC
[pulsar] branch master updated: '#2823' (#2835)
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 <yb...@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 {