always offer to download v11.0.3

This commit is contained in:
garronej 2022-04-22 18:22:28 +02:00
parent 622504ff72
commit 66cd5aef0c
2 changed files with 11 additions and 7 deletions

3
.gitignore vendored
View File

@ -47,4 +47,5 @@ jspm_packages
.idea
/keycloak_theme_email
/keycloak_theme_email
/build_keycloak

View File

@ -19,12 +19,15 @@ export async function promptKeycloakVersion() {
console.log("Initialize the directory with email template from which keycloak version?");
const tags = await getLatestsSemVersionedTag({
"count": 15,
"doIgnoreBeta": true,
"owner": "keycloak",
"repo": "keycloak",
}).then(arr => arr.map(({ tag }) => tag));
const tags = [
...(await getLatestsSemVersionedTag({
"count": 10,
"doIgnoreBeta": true,
"owner": "keycloak",
"repo": "keycloak",
}).then(arr => arr.map(({ tag }) => tag))),
"11.0.3",
];
if (process.env["GITHUB_ACTIONS"] === "true") {
return { "keycloakVersion": tags[0] };