perf: add latest release branch as option in branch drop-down

This was requested by the tools folks because it allows creating stable
links without knowing the magic query parameter.

Change-Id: I29570f70cf89957a54a09d9eb94c45ca1fb8a283
Reviewed-on: https://go-review.googlesource.com/c/build/+/613916
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Michael Anthony Knyszek 2024-09-17 19:18:45 +00:00 коммит произвёл Michael Knyszek
Родитель f4f673a371
Коммит 4b2c343c22
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -480,6 +480,10 @@ fetch('./formfields.json')
opt.innerText = formFields.Branches[i];
select.appendChild(opt);
}
var opt = document.createElement('option');
opt.value = "latest-release";
opt.innerText = "Latest release branch";
select.appendChild(opt);
prefillSearch(formFields);
});