Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions .github/scripts/release-index/build-releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ async function buildChannelData(channelReleases, channelName) {
release.appVersion = await getAppVersionFromChart(release.version);
}

const latestVersion = sorted[0]?.version;
const latestRelease = sorted[0] || null;
const latestVersion = latestRelease?.version;
const latestSecureIndex = latestWithSecurityFixes
? sorted.findIndex((r) => r.version === latestWithSecurityFixes)
: -1;
Expand All @@ -209,8 +210,8 @@ async function buildChannelData(channelReleases, channelName) {

return {
releases: topReleases,
latestChartVersion: sorted[0]?.version || null,
latestWithSecurityFixes,
latestRelease,
};
}

Expand Down Expand Up @@ -242,12 +243,12 @@ async function buildIndex() {
channels: {
stable: {
releases: stable.releases,
latestChartVersion: stable.latestChartVersion,
latestRelease: stable.latestRelease,
latestWithSecurityFixes: stable.latestWithSecurityFixes,
},
latest: {
releases: latest.releases,
latestChartVersion: latest.latestChartVersion,
latestRelease: latest.latestRelease,
latestWithSecurityFixes: latest.latestWithSecurityFixes,
},
},
Expand All @@ -272,7 +273,12 @@ async function buildIndex() {
console.log(` Total releases: ${index.stats.totalReleases}`);
console.log(`\n 🟢 Stable Channel:`);
console.log(
` Latest: ${index.channels.stable.latestChartVersion || "none"}`
` Latest chart: ${index.channels.stable.latestRelease?.version || "none"}`
);
console.log(
` Latest app: ${
index.channels.stable.latestRelease?.appVersion || "none"
}`
);
console.log(
` Latest secure: ${
Expand All @@ -281,7 +287,12 @@ async function buildIndex() {
);
console.log(`\n 🔵 Latest Channel:`);
console.log(
` Latest: ${index.channels.latest.latestChartVersion || "none"}`
` Latest chart: ${index.channels.latest.latestRelease?.version || "none"}`
);
console.log(
` Latest app: ${
index.channels.latest.latestRelease?.appVersion || "none"
}`
);
console.log(
` Latest secure: ${
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-index.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update Release Index
name: update-release-index

on:
release:
Expand Down
146 changes: 146 additions & 0 deletions releases/releases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"generatedAt": "2025-11-07T15:36:10.672Z",
"repository": "codefresh-io/gitops-runtime-helm",
"channels": {
"stable": {
"releases": [
{
"version": "0.25.1",
"normalized": "0.25.1",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-11-06T10:31:16Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.25.1",
"createdAt": "2025-11-06T10:28:31Z",
"appVersion": "0.1.77",
"upgradeAvailable": false,
"hasSecurityVulnerabilities": false
},
{
"version": "0.25.0",
"normalized": "0.25.0",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-11-03T13:23:47Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.25.0",
"createdAt": "2025-11-03T12:48:01Z",
"appVersion": "0.1.76",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.7",
"normalized": "0.24.7",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-10-30T07:06:35Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.7",
"createdAt": "2025-10-30T07:03:41Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.6",
"normalized": "0.24.6",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-10-29T09:42:35Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.6",
"createdAt": "2025-10-29T09:40:02Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.5",
"normalized": "0.24.5",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-10-27T16:57:36Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.5",
"createdAt": "2025-10-27T16:54:58Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.4",
"normalized": "0.24.4",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-10-09T08:01:52Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.4",
"createdAt": "2025-10-09T07:59:20Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.3",
"normalized": "0.24.3",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-10-01T14:04:55Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.3",
"createdAt": "2025-10-01T14:02:05Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.2",
"normalized": "0.24.2",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-09-22T11:42:14Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.2",
"createdAt": "2025-09-22T11:39:54Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.1",
"normalized": "0.24.1",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-09-10T16:01:18Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.1",
"createdAt": "2025-09-10T15:58:26Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
},
{
"version": "0.24.0",
"normalized": "0.24.0",
"channel": "stable",
"hasSecurityFixes": false,
"publishedAt": "2025-09-08T14:01:03Z",
"url": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.24.0",
"createdAt": "2025-09-08T13:59:05Z",
"appVersion": "0.1.75",
"upgradeAvailable": true,
"hasSecurityVulnerabilities": false
}
],
"latestChartVersion": "0.25.1",
"latestWithSecurityFixes": null,
"latestAppVersion": "0.1.77",
"latestUrl": "https://github.com/codefresh-io/gitops-runtime-helm/releases/tag/0.25.1"
},
"latest": {
"releases": [],
"latestChartVersion": null,
"latestWithSecurityFixes": null,
"latestAppVersion": null,
"latestUrl": null
}
},
"stats": {
"totalReleases": 128,
"stableSecure": null,
"latestSecure": null
}
}