Skip to content

Commit

Permalink
Added Website section for Camel-upgrade-recipes in download and relea…
Browse files Browse the repository at this point in the history
…se (#1244)

Signed-off-by: Andrea Cosentino <[email protected]>
  • Loading branch information
oscerd authored Sep 30, 2024
1 parent d682a4e commit 0c99b1f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
11 changes: 11 additions & 0 deletions content/releases/upgrade-recipes/release-4.8.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
url: "/releases/upgrade-recipes-4.8.0/"
date: 2024-09-30
type: release-note
version: "4.8.0"
title: "Upgrade Recipes 4.8.0"
preview: ""
changelog: ""
category: "camel-upgrade-recipes"
jdk: [17,21]
---
12 changes: 12 additions & 0 deletions data/release-categories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,15 @@ camel-quarkus:
- name: 'SBOM, CycloneDX JSON'
path_format: 'camel/camel-quarkus/{version}/apache-camel-quarkus-{version}-sbom.json'
filename_format: 'apache-camel-quarkus-{version}-sbom.json'
camel-upgrade-recipes:
id: 'camel-upgrade-recipes'
name: 'Apache Camel Upgrade Recipes'
order: 7
kinds:
- name: 'latest'
filter: 'latest'
downloads:
- name: 'Sources'
path_format: 'camel/camel-upgrade-recipes/{version}/camel-upgrade-recipes-sources-{version}.tar.gz'
filename_format: 'camel-upgrade-recipes-sources-{version}.tar.gz'

11 changes: 11 additions & 0 deletions layouts/partials/releases/camel-upgrade-recipes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel-upgrade-recipes") "Pages" $.Site.Pages "Version" .Params.version) }}

<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
<p>
Release is tagged with <code>{{ .Params.version }}</code> in the Git, to fetch it use:
</p>
<pre>
git clone https://git-wip-us.apache.org/repos/asf/camel-upgrade-recipes.git
cd camel-upgrade-recipes
git checkout {{ .Params.version }}</pre>

0 comments on commit 0c99b1f

Please sign in to comment.