Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions bucket/graalvm25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)",
"version": "25.0.1",
"homepage": "https://www.graalvm.org/",
"license": "GPL-2.0",
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.1/graalvm-community-jdk-25.0.1_windows-x64_bin.zip",
"hash": "fde83c5ceec2c75560c747ccd9f314f90e4cf5c5287416e67c4ce442e344ca27",
"pre_install": [
"$d = Get-ChildItem $dir | Where-Object { $_.PSIsContainer }",
"if ($d.Count -eq 1) { Move-Item \"$($d.FullName)/*\" $dir -Force }"
],
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir",
"GRAALVM_HOME": "$dir"
},
"checkver": {
"github": "graalvm/graalvm-ce-builds"
},
Comment on lines +17 to +19
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix checkver configuration—pipeline is failing due to invalid URL construction.

The checkver configuration is incomplete and causing the pipeline to fail. The error indicates the constructed URL graalvm/graalvm-ce-builds/releases/latest is malformed. GraalVM releases use tags like jdk-25.0.1, so you need to specify a regex pattern to extract the version from the release tag.

Apply this diff to fix the checkver configuration:

     "checkver": {
-        "github": "graalvm/graalvm-ce-builds"
+        "github": "graalvm/graalvm-ce-builds",
+        "regex": "jdk-([\\d.]+)"
     },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"checkver": {
"github": "graalvm/graalvm-ce-builds"
},
"checkver": {
"github": "graalvm/graalvm-ce-builds",
"regex": "jdk-([\\d.]+)"
},
🤖 Prompt for AI Agents
In bucket/graalvm25.json around lines 17-19, the checkver block only specifies
"github" and causes a malformed URL; update the checkver configuration to
include a regex that extracts the version from release tags (which are like
"jdk-25.0.1") so the pipeline builds a correct URL — add a "regex" value that
matches tags starting with "jdk-" and captures the numeric version portion (e.g.
jdk-<version>) and ensure checkver uses release tags for version extraction.

"autoupdate": {
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$version/graalvm-community-jdk-$version_windows-x64_bin.zip",
"hash": {
"url": "$url.sha256"
}
}
}
Loading