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/09/20 04:17:42 UTC
[incubator-pulsar] branch master updated: Prepare website for
future releases without '-incubating' suffix (#2610)
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/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 40ed8e4 Prepare website for future releases without '-incubating' suffix (#2610)
40ed8e4 is described below
commit 40ed8e45256518e7b751cc3206624a1ab131f8f6
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Wed Sep 19 21:17:36 2018 -0700
Prepare website for future releases without '-incubating' suffix (#2610)
---
site2/website/pages/en/download.js | 7 ++-----
site2/website/releases.json | 16 ++++++++--------
2 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/site2/website/pages/en/download.js b/site2/website/pages/en/download.js
index cb87cbd..cea6f26 100644
--- a/site2/website/pages/en/download.js
+++ b/site2/website/pages/en/download.js
@@ -28,16 +28,13 @@ function archiveUrl(version, type) {
class Download extends React.Component {
render() {
- const latestRelease = releases[0];
-
- const latestVersion = `${latestRelease}-incubating`
+ const latestVersion = releases[0];
const latestArchiveMirrorUrl = getLatestArchiveMirrorUrl(latestVersion, 'bin');
const latestSrcArchiveMirrorUrl = getLatestArchiveMirrorUrl(latestVersion, 'src');
const latestArchiveUrl = distUrl(latestVersion, 'bin');
const latestSrcArchiveUrl = distUrl(latestVersion, 'src')
- const releaseInfo = releases.map(r => {
- const version = `${r}-incubating`;
+ const releaseInfo = releases.map(version => {
return {
version: version,
binArchiveUrl: archiveUrl(version, 'bin'),
diff --git a/site2/website/releases.json b/site2/website/releases.json
index 2966e88..9e4e328 100644
--- a/site2/website/releases.json
+++ b/site2/website/releases.json
@@ -1,10 +1,10 @@
[
- "2.1.1",
- "2.1.0",
- "2.0.1",
- "1.22.1",
- "1.22.0",
- "1.21.0",
- "1.20.0",
- "1.19.0"
+ "2.1.1-incubating",
+ "2.1.0-incubating",
+ "2.0.1-incubating",
+ "1.22.1-incubating",
+ "1.22.0-incubating",
+ "1.21.0-incubating",
+ "1.20.0-incubating",
+ "1.19.0-incubating"
]