Skip to content

Commit 04bb486

Browse files
feat: add latest URL to release index data
1 parent f6d68b0 commit 04bb486

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/release-index/build-releases.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ async function buildChannelData(channelReleases, channelName) {
212212
latestChartVersion: sorted[0]?.version || null,
213213
latestAppVersion: sorted[0]?.appVersion || null,
214214
latestWithSecurityFixes,
215+
latestUrl: sorted[0]?.url || null,
215216
};
216217
}
217218

@@ -246,12 +247,14 @@ async function buildIndex() {
246247
latestChartVersion: stable.latestChartVersion,
247248
latestWithSecurityFixes: stable.latestWithSecurityFixes,
248249
latestAppVersion: stable.latestAppVersion,
250+
latestUrl: stable.latestUrl,
249251
},
250252
latest: {
251253
releases: latest.releases,
252254
latestChartVersion: latest.latestChartVersion,
253255
latestWithSecurityFixes: latest.latestWithSecurityFixes,
254256
latestAppVersion: latest.latestAppVersion,
257+
latestUrl: latest.latestUrl,
255258
},
256259
},
257260
stats: {

0 commit comments

Comments
 (0)