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

1
.gitignore vendored
View File

@ -48,3 +48,4 @@ jspm_packages
.idea .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?"); console.log("Initialize the directory with email template from which keycloak version?");
const tags = await getLatestsSemVersionedTag({ const tags = [
"count": 15, ...(await getLatestsSemVersionedTag({
"count": 10,
"doIgnoreBeta": true, "doIgnoreBeta": true,
"owner": "keycloak", "owner": "keycloak",
"repo": "keycloak", "repo": "keycloak",
}).then(arr => arr.map(({ tag }) => tag)); }).then(arr => arr.map(({ tag }) => tag))),
"11.0.3",
];
if (process.env["GITHUB_ACTIONS"] === "true") { if (process.env["GITHUB_ACTIONS"] === "true") {
return { "keycloakVersion": tags[0] }; return { "keycloakVersion": tags[0] };