mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Skip helm releases in docs (#774)
#719 adds helm releases, which we don't need in the docs :)
This commit is contained in:
parent
5a277d47e2
commit
981fdb6631
@ -11,7 +11,7 @@ window.addEventListener("load", () => {
|
|||||||
res.json()
|
res.json()
|
||||||
).then(releases => {
|
).then(releases => {
|
||||||
selectElement.innerHTML = "";
|
selectElement.innerHTML = "";
|
||||||
for (const version of ['latest', ...releases.map(r => r.tag_name).filter(s => s !== "0.1.0")]) {
|
for (const version of ['latest', ...releases.map(r => r.tag_name).filter(s => s !== "0.1.0" && !s.startsWith("helm-")]) {
|
||||||
const option = document.createElement("option");
|
const option = document.createElement("option");
|
||||||
option.innerHTML = version;
|
option.innerHTML = version;
|
||||||
selectElement.add(option);
|
selectElement.add(option);
|
||||||
@ -37,4 +37,4 @@ window.addEventListener("load", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
document.querySelector(".version-box").appendChild(selectElement);
|
document.querySelector(".version-box").appendChild(selectElement);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user