Skip to content

Commit 35d93e3

Browse files
authored
intellij-jbr21* and intellij-jbr17*: checkver by GitHub releases and add arm64 & 32bit support (#550)
* intellij-jbr21*@21.0.7b1038.58: fix checkver `checkver` by GitHub releases and update to latest version * intellij-jbr17*@17.0.14b1367.22: fix checkver `checkver` by GitHub releases and update to latest version * intellij-jbr21*@21.0.7b1038.58: add 32bit & arm64 - Add `32bit` and `arm64` support for `intellij-jbr21` and `intellij-jbr21-sdk`. - Add `arm64` support for `intellij-jbr21-sdk-jcef` and `intellij-jbr21-jcef`. * intellj-jbr17*@17.0.14b1367.22: add 32bit & arm64 - Add 32bit and arm64 support for `intellij-jbr17` and `intellij-jbr17-sdk`. - Add arm64 support for `intellij-jbr17-sdk-jcef` and `intellij-jbr17-jcef`. * intellij-jbr*: use script to sort versions
1 parent 5cb10b8 commit 35d93e3

8 files changed

+364
-48
lines changed

bucket/intellij-jbr17-jcef.json

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,47 @@
11
{
2-
"version": "17.0.11-b1312.2",
2+
"version": "17.0.14-b1367.22",
33
"homepage": "https://github.com/JetBrains/JetBrainsRuntime",
44
"description": "A fork of OpenJDK that includes a number enhancements in font rendering, HiDPI support, ligatures, performance improvements, and bugfixes. These are mainly for running IntelliJ Platform-based products",
55
"license": "GPL-2.0",
66
"architecture": {
77
"64bit": {
8-
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-17.0.11-windows-x64-b1312.2.tar.gz",
9-
"hash": "sha512:15ba83290f19fa80be594a5ffe90f17757307194951b90a249c5fc92acd4b5d2539a8231a115dca9325ff7525a065878e31ee02c25dea93f5f1cf9d6ced34549",
10-
"extract_dir": "jbr_jcef-17.0.11-windows-x64-b1312.2"
8+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-17.0.14-windows-x64-b1367.22.tar.gz",
9+
"hash": "sha512:1f737ebb5f389dc7cee875d5308b44cbd8e3cdaa239cb1a6f39761e3c449ea54c8117777ca37cd8b04fee488dc212a70575139308afd84e4d17bd6909a5b5bf7",
10+
"extract_dir": "jbr_jcef-17.0.14-windows-x64-b1367.22"
11+
},
12+
"arm64": {
13+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-17.0.14-windows-aarch64-b1367.22.tar.gz",
14+
"hash": "sha512:31319c604a9e2f11861f283b260e6d5caaaea532d2ad7899bc3eb6869d902e01bab479db8f0ee7f41ddd182b050e2a924aea38ba461e9a2e032fc4d1531965a4",
15+
"extract_dir": "jbr_jcef-17.0.14-windows-aarch64-b1367.22"
1116
}
1217
},
1318
"env_set": {
1419
"JAVA_HOME": "$dir"
1520
},
1621
"env_add_path": "bin",
1722
"checkver": {
18-
"url": "https://github.com/JetBrains/JetBrainsRuntime/raw/main/.github/README.md",
19-
"regex": "\\[17\\.(?<Version>[\\d.]+)-(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)]",
23+
"script": [
24+
"$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'",
25+
"$releases = Invoke-RestMethod $url",
26+
"$tags = $releases | ForEach-Object { $_.tag_name }",
27+
"# `$Script:expected_ver` is current version for fallback",
28+
"$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')",
29+
"$pattern = 'jbr-release-17\\.(?<Version>[\\d.]+)b(?<BuildNum>[\\d]+)\\.(?<Patch>\\d+)'",
30+
"$matches = foreach ($t in $tags) { if ($t -match $pattern) {",
31+
" [PSCustomObject]@{",
32+
" Tag = $t",
33+
" VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }",
34+
" BuildNum = [int]$Matches.BuildNum",
35+
" Patch = [int]$Matches.Patch",
36+
" }",
37+
" } }",
38+
"$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},",
39+
" @{Expression={$_.VersionParts[1]}},",
40+
" @{Expression={$_.BuildNum}},",
41+
" @{Expression={$_.Patch}} | Select-Object -Last 1",
42+
"Write-Output $latest.Tag"
43+
],
44+
"regex": "jbr-release-17\\.(?<Version>[\\d.]+)(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)",
2045
"replace": "17.${Version}-${Build}.${Patch}"
2146
},
2247
"autoupdate": {
@@ -28,6 +53,14 @@
2853
"regex": "$sha512\\s"
2954
},
3055
"extract_dir": "jbr_jcef-17.$matchVersion-windows-x64-$matchBuild.$matchPatch"
56+
},
57+
"arm64": {
58+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz",
59+
"hash": {
60+
"url": "$url.checksum",
61+
"regex": "$sha512\\s"
62+
},
63+
"extract_dir": "jbr_jcef-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch"
3164
}
3265
}
3366
}

bucket/intellij-jbr17-sdk-jcef.json

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,47 @@
11
{
2-
"version": "17.0.11-b1312.2",
2+
"version": "17.0.14-b1367.22",
33
"homepage": "https://github.com/JetBrains/JetBrainsRuntime",
44
"description": "A fork of OpenJDK that includes a number enhancements in font rendering, HiDPI support, ligatures, performance improvements, and bugfixes. These are mainly for running IntelliJ Platform-based products",
55
"license": "GPL-2.0",
66
"architecture": {
77
"64bit": {
8-
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-17.0.11-windows-x64-b1312.2.tar.gz",
9-
"hash": "sha512:6025ff976cee7269f4bb54bd5b847cae567b7876145c5c22d49e2fe9dd13f872bef3a539049d863acc14b5b44358f09285851343337fc65ad72a697c80c54472",
10-
"extract_dir": "jbrsdk_jcef-17.0.11-windows-x64-b1312.2"
8+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-17.0.14-windows-x64-b1367.22.tar.gz",
9+
"hash": "sha512:4f1627767b111fda2d9e79d84955876f39244b48a7d106caa923fbafa918b3ff591567aac8ff4c8c84ca21be00b12d0877688634950efb4c32249d547f329b88",
10+
"extract_dir": "jbrsdk_jcef-17.0.14-windows-x64-b1367.22"
11+
},
12+
"arm64": {
13+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-17.0.14-windows-aarch64-b1367.22.tar.gz",
14+
"hash": "sha512:0285604bd90b8b8ec19489712d8f8f2a86b60c87dbe19c6edae24fa85d6bce6a1df453ea109b7ecaded7b1c4468451e14bba0f3a1f645b3164ff1486b3bb0c9c",
15+
"extract_dir": "jbrsdk_jcef-17.0.14-windows-aarch64-b1367.22"
1116
}
1217
},
1318
"env_set": {
1419
"JAVA_HOME": "$dir"
1520
},
1621
"env_add_path": "bin",
1722
"checkver": {
18-
"url": "https://github.com/JetBrains/JetBrainsRuntime/raw/main/.github/README.md",
19-
"regex": "\\[17\\.(?<Version>[\\d.]+)-(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)]",
23+
"script": [
24+
"$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'",
25+
"$releases = Invoke-RestMethod $url",
26+
"$tags = $releases | ForEach-Object { $_.tag_name }",
27+
"# `$Script:expected_ver` is current version for fallback",
28+
"$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')",
29+
"$pattern = 'jbr-release-17\\.(?<Version>[\\d.]+)b(?<BuildNum>[\\d]+)\\.(?<Patch>\\d+)'",
30+
"$matches = foreach ($t in $tags) { if ($t -match $pattern) {",
31+
" [PSCustomObject]@{",
32+
" Tag = $t",
33+
" VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }",
34+
" BuildNum = [int]$Matches.BuildNum",
35+
" Patch = [int]$Matches.Patch",
36+
" }",
37+
" } }",
38+
"$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},",
39+
" @{Expression={$_.VersionParts[1]}},",
40+
" @{Expression={$_.BuildNum}},",
41+
" @{Expression={$_.Patch}} | Select-Object -Last 1",
42+
"Write-Output $latest.Tag"
43+
],
44+
"regex": "jbr-release-17\\.(?<Version>[\\d.]+)(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)",
2045
"replace": "17.${Version}-${Build}.${Patch}"
2146
},
2247
"autoupdate": {
@@ -28,6 +53,14 @@
2853
"regex": "$sha512\\s"
2954
},
3055
"extract_dir": "jbrsdk_jcef-17.$matchVersion-windows-x64-$matchBuild.$matchPatch"
56+
},
57+
"arm64": {
58+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz",
59+
"hash": {
60+
"url": "$url.checksum",
61+
"regex": "$sha512\\s"
62+
},
63+
"extract_dir": "jbrsdk_jcef-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch"
3164
}
3265
}
3366
}

bucket/intellij-jbr17-sdk.json

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,79 @@
11
{
2-
"version": "17.0.11-b1312.2",
2+
"version": "17.0.14-b1367.22",
33
"homepage": "https://github.com/JetBrains/JetBrainsRuntime",
44
"description": "A fork of OpenJDK that includes a number enhancements in font rendering, HiDPI support, ligatures, performance improvements, and bugfixes. These are mainly for running IntelliJ Platform-based products",
55
"license": "GPL-2.0",
66
"architecture": {
7+
"32bit": {
8+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.0.14-windows-x86-b1367.22.tar.gz",
9+
"hash": "sha512:270eda55f33667de362e7893dc4f1acb68d969e00bcf52ff01fb2d165e2034bdbe5d67055082247d5394d2e188a2b19daf438440cc0bdde4ed763a43bb92fcad",
10+
"extract_dir": "jbrsdk-17.0.14-windows-x86-b1367.22"
11+
},
712
"64bit": {
8-
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.0.11-windows-x64-b1312.2.tar.gz",
9-
"hash": "sha512:933db443f52af99b323a21c1cd86d1266f723c96dff16ad35aa39bd1de93c195cd7b49723254bb463a8cff731b5ed75c12e7dfe29181a2434006ea45ca480bc2",
10-
"extract_dir": "jbrsdk-17.0.11-windows-x64-b1312.2"
13+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.0.14-windows-x64-b1367.22.tar.gz",
14+
"hash": "sha512:d787fdb48cf28886738428621d8f400ca8d95f88aa98f0995997c755b2da94fb0b2997d876bdbe6826002cd09d973d45ae71a4871fad1b36e2afdebe1202b8b3",
15+
"extract_dir": "jbrsdk-17.0.14-windows-x64-b1367.22"
16+
},
17+
"arm64": {
18+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.0.14-windows-aarch64-b1367.22.tar.gz",
19+
"hash": "sha512:e573e9827203733a2b637d909945635d5d648841622652f8cc3aaf372b7c737d1cbeaeaac8bc37e3ffa0d9092196c6b7fdcadf8a1a9fef3d491a133d1c0ccac6",
20+
"extract_dir": "jbrsdk-17.0.14-windows-aarch64-b1367.22"
1121
}
1222
},
1323
"env_set": {
1424
"JAVA_HOME": "$dir"
1525
},
1626
"env_add_path": "bin",
1727
"checkver": {
18-
"url": "https://github.com/JetBrains/JetBrainsRuntime/raw/main/.github/README.md",
19-
"regex": "\\[17\\.(?<Version>[\\d.]+)-(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)]",
28+
"script": [
29+
"$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'",
30+
"$releases = Invoke-RestMethod $url",
31+
"$tags = $releases | ForEach-Object { $_.tag_name }",
32+
"# `$Script:expected_ver` is current version for fallback",
33+
"$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')",
34+
"$pattern = 'jbr-release-17\\.(?<Version>[\\d.]+)b(?<BuildNum>[\\d]+)\\.(?<Patch>\\d+)'",
35+
"$matches = foreach ($t in $tags) { if ($t -match $pattern) {",
36+
" [PSCustomObject]@{",
37+
" Tag = $t",
38+
" VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }",
39+
" BuildNum = [int]$Matches.BuildNum",
40+
" Patch = [int]$Matches.Patch",
41+
" }",
42+
" } }",
43+
"$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},",
44+
" @{Expression={$_.VersionParts[1]}},",
45+
" @{Expression={$_.BuildNum}},",
46+
" @{Expression={$_.Patch}} | Select-Object -Last 1",
47+
"Write-Output $latest.Tag"
48+
],
49+
"regex": "jbr-release-17\\.(?<Version>[\\d.]+)(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)",
2050
"replace": "17.${Version}-${Build}.${Patch}"
2151
},
2252
"autoupdate": {
2353
"architecture": {
54+
"32bit": {
55+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.$matchVersion-windows-x86-$matchBuild.$matchPatch.tar.gz",
56+
"hash": {
57+
"url": "$url.checksum",
58+
"regex": "$sha512\\s"
59+
},
60+
"extract_dir": "jbrsdk-17.$matchVersion-windows-x86-$matchBuild.$matchPatch"
61+
},
2462
"64bit": {
2563
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz",
2664
"hash": {
2765
"url": "$url.checksum",
2866
"regex": "$sha512\\s"
2967
},
3068
"extract_dir": "jbrsdk-17.$matchVersion-windows-x64-$matchBuild.$matchPatch"
69+
},
70+
"arm64": {
71+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz",
72+
"hash": {
73+
"url": "$url.checksum",
74+
"regex": "$sha512\\s"
75+
},
76+
"extract_dir": "jbrsdk-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch"
3177
}
3278
}
3379
}

bucket/intellij-jbr17.json

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,79 @@
11
{
2-
"version": "17.0.11-b1312.2",
2+
"version": "17.0.14-b1367.22",
33
"homepage": "https://github.com/JetBrains/JetBrainsRuntime",
44
"description": "A fork of OpenJDK that includes a number enhancements in font rendering, HiDPI support, ligatures, performance improvements, and bugfixes. These are mainly for running IntelliJ Platform-based products",
55
"license": "GPL-2.0",
66
"architecture": {
7+
"32bit": {
8+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.0.14-windows-x86-b1367.22.tar.gz",
9+
"hash": "sha512:7f9c1c091bede2b1d85f1a0ee0f70e972639df630e484b144d2e77a3df6b1f3e560dd9da98cb1bcffa36d575e8a3ebfe88bf46f4a15e1e5cf60935c5ceeb18a4",
10+
"extract_dir": "jbr-17.0.14-windows-x86-b1367.22"
11+
},
712
"64bit": {
8-
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.0.11-windows-x64-b1312.2.tar.gz",
9-
"hash": "sha512:fb35d633a9db89d20ff70d4160acf26b5c0de5444f422f62be1ba54e59e79d8a093fdf2256f4a523ac37ec904572d17aa4efd15e95b975a19b999bbf8fc03fce",
10-
"extract_dir": "jbr-17.0.11-windows-x64-b1312.2"
13+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.0.14-windows-x64-b1367.22.tar.gz",
14+
"hash": "sha512:601a932cfa9f84d57a4ecb6c558a3299c494b2809e9f9126b24597bb64a483047b070f90c0ea0fa3de052d594b90028548c17b3d7a2c36000f229c3d85621c4e",
15+
"extract_dir": "jbr-17.0.14-windows-x64-b1367.22"
16+
},
17+
"arm64": {
18+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.0.14-windows-aarch64-b1367.22.tar.gz",
19+
"hash": "sha512:71fde1b135276a3ac223c51c0296f5984a95dde0378e5315edcabcd81f9e2e43c78d6101a7d84e66b954ab755c6b861ea550cd29b5ab637cb7842fd5cdd74137",
20+
"extract_dir": "jbr-17.0.14-windows-aarch64-b1367.22"
1121
}
1222
},
1323
"env_set": {
1424
"JAVA_HOME": "$dir"
1525
},
1626
"env_add_path": "bin",
1727
"checkver": {
18-
"url": "https://github.com/JetBrains/JetBrainsRuntime/raw/main/.github/README.md",
19-
"regex": "\\[17\\.(?<Version>[\\d.]+)-(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)]",
28+
"script": [
29+
"$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'",
30+
"$releases = Invoke-RestMethod $url",
31+
"$tags = $releases | ForEach-Object { $_.tag_name }",
32+
"# `$Script:expected_ver` is current version for fallback",
33+
"$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')",
34+
"$pattern = 'jbr-release-17\\.(?<Version>[\\d.]+)b(?<BuildNum>[\\d]+)\\.(?<Patch>\\d+)'",
35+
"$matches = foreach ($t in $tags) { if ($t -match $pattern) {",
36+
" [PSCustomObject]@{",
37+
" Tag = $t",
38+
" VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }",
39+
" BuildNum = [int]$Matches.BuildNum",
40+
" Patch = [int]$Matches.Patch",
41+
" }",
42+
" } }",
43+
"$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},",
44+
" @{Expression={$_.VersionParts[1]}},",
45+
" @{Expression={$_.BuildNum}},",
46+
" @{Expression={$_.Patch}} | Select-Object -Last 1",
47+
"Write-Output $latest.Tag"
48+
],
49+
"regex": "jbr-release-17\\.(?<Version>[\\d.]+)(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)",
2050
"replace": "17.${Version}-${Build}.${Patch}"
2151
},
2252
"autoupdate": {
2353
"architecture": {
54+
"32bit": {
55+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.$matchVersion-windows-x86-$matchBuild.$matchPatch.tar.gz",
56+
"hash": {
57+
"url": "$url.checksum",
58+
"regex": "$sha512\\s"
59+
},
60+
"extract_dir": "jbr-17.$matchVersion-windows-x86-$matchBuild.$matchPatch"
61+
},
2462
"64bit": {
2563
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz",
2664
"hash": {
2765
"url": "$url.checksum",
2866
"regex": "$sha512\\s"
2967
},
3068
"extract_dir": "jbr-17.$matchVersion-windows-x64-$matchBuild.$matchPatch"
69+
},
70+
"arm64": {
71+
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz",
72+
"hash": {
73+
"url": "$url.checksum",
74+
"regex": "$sha512\\s"
75+
},
76+
"extract_dir": "jbr-17.$matchVersion-windows-aarch64-$matchBuild.$matchPatch"
3177
}
3278
}
3379
}

0 commit comments

Comments
 (0)