Added support for Windows Server 2022 to `generate.sh` (#33)

This commit is contained in:
Fabian Grutschus 2021-08-24 23:38:50 +02:00 committed by GitHub
parent e7c3ecbffa
commit a4a65a7293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ for tag in $tags; do
{
name: .name,
os: (
if (.constraints | contains(["windowsservercore-1809"])) or (.constraints | contains(["nanoserver-1809"])) then
if (.constraints | contains(["windowsservercore-ltsc2022"])) or (.constraints | contains(["nanoserver-ltsc2022"])) then
"windows-2022"
elif (.constraints | contains(["windowsservercore-1809"])) or (.constraints | contains(["nanoserver-1809"])) then
"windows-2019"
elif .constraints | contains(["windowsservercore-ltsc2016"]) then
"windows-2016"