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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 13bb002  [CAMEL-13568] Create archetype for releases
13bb002 is described below

commit 13bb002cd418138ee958ff9748a22319af8a0c01
Author: Francois Papon <francois.pa...@openobject.fr>
AuthorDate: Tue May 28 05:36:40 2019 +0400

    [CAMEL-13568] Create archetype for releases
---
 archetypes/release-note.md         | 12 +++++++
 content/download/_index.md         |  9 ++---
 content/releases/_index.md         |  6 ++++
 content/releases/release-2.24.0.md | 12 +++++++
 layouts/release-note/single.html   | 74 ++++++++++++++++++++++++++++++++++++++
 layouts/releases/list.html         | 25 +++++++++++++
 6 files changed, 134 insertions(+), 4 deletions(-)

diff --git a/archetypes/release-note.md b/archetypes/release-note.md
new file mode 100644
index 0000000..af67d7b
--- /dev/null
+++ b/archetypes/release-note.md
@@ -0,0 +1,12 @@
+---
+title: "Apache Camel Releases - {{ .Name | title }}"
+url: /releases/{{ .Name }}.html
+date: {{ .Date }}
+draft: true
+type: release-note
+version: ""
+preview: ""
+apiBreaking: ""
+knownIssues: ""
+jiraVersionId: ""
+---
diff --git a/content/download/_index.md b/content/download/_index.md
index 77190aa..976344a 100644
--- a/content/download/_index.md
+++ b/content/download/_index.md
@@ -6,14 +6,15 @@ title: "Download"
 
 Grab these releases while they are hot!
 
-*  The latest release for Camel 2.23.x is [Camel 2.23.1 
Release](https://camel.apache.org/camel-2231-release.html).
-*  The latest release for Camel 2.22.x is [Camel 2.22.3 
Release](https://camel.apache.org/camel-2223-release.html).
-*  The latest release for Camel 2.21.x is [Camel 2.21.5 
Release](https://camel.apache.org/camel-2215-release.html).
+*  The latest release for Camel 2.24.x is [Camel 2.24.0 
Release](/releases/release-2.24.0).
+*  The latest release for Camel 2.23.x is [Camel 2.23.1 
Release](/releases/release-2.23.1).
+*  The latest release for Camel 2.22.x is [Camel 2.22.3 
Release](/releases/release-2.22.3).
+*  The latest release for Camel 2.21.x is [Camel 2.21.5 
Release](/releases/release-2.21.5).
 *  Camel versions 2.20.x and older are no longer actively developed.
 
 ## Older Releases
 
-See [Download Archives](download/archives.html)
+See [Download Archives](/releases)
 
 ## Getting the latest distributions
 
diff --git a/content/releases/_index.md b/content/releases/_index.md
new file mode 100644
index 0000000..83dadb8
--- /dev/null
+++ b/content/releases/_index.md
@@ -0,0 +1,6 @@
+---
+title: "Apache Camel Releases"
+---
+
+# Apache Camel releases
+
diff --git a/content/releases/release-2.24.0.md 
b/content/releases/release-2.24.0.md
new file mode 100644
index 0000000..5149363
--- /dev/null
+++ b/content/releases/release-2.24.0.md
@@ -0,0 +1,12 @@
+---
+date: 2019-05-12
+draft: false 
+type: release-note
+version: 2.24.0
+preview: "Minor update of the 2.24.x branch"
+apiBreaking: ""
+knownIssues: ""
+jiraVersionId: 12344459
+---
+
+This release is a minor update of the 2.24.x branch.
diff --git a/layouts/release-note/single.html b/layouts/release-note/single.html
new file mode 100644
index 0000000..a4a9eb2
--- /dev/null
+++ b/layouts/release-note/single.html
@@ -0,0 +1,74 @@
+{{ partial "header.html" . }}
+
+<div class="container pb-5">
+  <h4>Apache Camel {{ .Params.version }} Release</h4>
+  <h5>New and Noteworthy</h5>
+  {{ .Content }}
+  <h5>API breaking</h5>
+  {{ .Params.apiBreaking }}
+  <h5>Known issues</h5>
+  {{ .Params.knownIssues }}
+  <h4>Getting the Binaries using Maven</h4>
+  <h5>Binary Distributions</h5>
+  <table class="table">
+    <thead>
+    <tr>
+      <td>Description</td>
+      <td>Download Link</td>
+      <td>PGP Signature file of download</td>
+    </tr>
+    </thead>
+    <tbody>
+    <tr>
+      <td>Windows Distribution</td>
+      <td><a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{ 
.Params.version }}/apache-camel-{{ .Params.version }}.zip">apache-camel-{{ 
.Params.version }}.zip</a></td>
+      <td><a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{ 
.Params.version }}/apache-camel-{{ .Params.version }}.zip.asc">apache-camel-{{ 
.Params.version }}.zip.asc</a></td>
+    </tr>
+    <tr>
+      <td>Unix/Linux/Cygwin Distribution</td>
+      <td><a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{ 
.Params.version }}/apache-camel-{{ .Params.version }}.tar.gz">apache-camel-{{ 
.Params.version }}.tar.gz</a></td>
+      <td><a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{ 
.Params.version }}/apache-camel-{{ .Params.version 
}}.tar.gz.asc">apache-camel-{{ .Params.version }}.tar.gz.asc</a></td>
+    </tr>
+    </tbody>
+  </table>
+  <h4>Source Distributions</h4>
+  <table class="table">
+    <thead>
+    <tr>
+      <td>Description</td>
+      <td>Download Link</td>
+      <td>PGP Signature file of download</td>
+    </tr>
+    </thead>
+    <tbody>
+    <tr>
+      <td>Source (zip)</td>
+      <td><a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{ 
.Params.version }}/apache-camel-{{ .Params.version }}-src.zip">apache-camel-{{ 
.Params.version }}-src.zip</a></td>
+      <td><a href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{ 
.Params.version }}/apache-camel-{{ .Params.version 
}}-src.zip.asc">apache-camel-{{ .Params.version }}-src.zip.asc</a></td>
+    </tr>
+    </tbody>
+  </table>
+
+  <h5>Git tag checkout</h5>
+  <pre>
+    git clone https://git-wip-us.apache.org/repos/asf/camel.git
+    cd camel
+    git checkout camel-{{ .Params.version }}
+  </pre>
+  <h5>Getting the Binaries using Maven</h5>
+  To use this release in your maven project, the proper dependency 
configuration that you should use in your Maven POM is:
+  <pre><code>
+  {{ htmlUnescape "<dependency>" }}
+  {{ htmlUnescape "  <groupId>org.apache.camel</groupId>" }}
+  {{ htmlUnescape "  <artifactId>camel-core</artifactId>" }}
+  {{ htmlUnescape "  <version>" }}{{ .Params.version }}{{ htmlUnescape 
"</version>" }}
+  {{ htmlUnescape "</dependency>" }}
+  </code></pre>
+
+  <h5>Changelog</h5>
+  For a more detailed view of new features and bug fixes, see the:<br/>
+  <a 
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version={{
 .Params.jiraVersionId }}">Release notes for {{ .Params.version }}</a>
+</div>
+
+{{ partial "footer.html" . }}
+htmlEscape
diff --git a/layouts/releases/list.html b/layouts/releases/list.html
new file mode 100644
index 0000000..c20d7e5
--- /dev/null
+++ b/layouts/releases/list.html
@@ -0,0 +1,25 @@
+{{ partial "header.html" . }}
+
+<div class="container pb-5">
+  {{ .Content }}
+
+  <table class="table">
+    <caption>Releases by version</caption>
+    <thead>
+      <tr>
+        <td>Version</td>
+        <td>Preview</td>
+      </tr>
+    </thead>
+    <tbody>
+    {{ range .Pages }}
+      <tr>
+        <td><a href="{{ .RelPermalink }}">{{ .Params.version }}</a></td>
+        <td>{{ .Params.preview }}</td>
+      </tr>
+    {{ end }}
+    </tbody>
+  </table>
+</div>
+
+{{ partial "footer.html" . }}

Reply via email to