From commits-return-16405-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Thu Oct 25 00:27:20 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 675AF180638 for ; Thu, 25 Oct 2018 00:27:20 +0200 (CEST) Received: (qmail 93830 invoked by uid 500); 24 Oct 2018 22:27:19 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 93820 invoked by uid 99); 24 Oct 2018 22:27:19 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2018 22:27:19 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 090C0878A8; Wed, 24 Oct 2018 22:27:19 +0000 (UTC) Date: Wed, 24 Oct 2018 22:27:18 +0000 To: "commits@pulsar.apache.org" Subject: [pulsar] branch master updated: '#2823' (#2835) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154042003883.27633.2538795483731696030@gitbox.apache.org> From: mmerli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: pulsar X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 203c8ee2b576704803135ddb18c2699322917c36 X-Git-Newrev: db131d2904c43ef11f712935ed7aebaff412cbc1 X-Git-Rev: db131d2904c43ef11f712935ed7aebaff412cbc1 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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 {