Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 8bf454a

Browse files
committed
fix: use name for matching asset
1 parent a7cac01 commit 8bf454a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/assets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fetchAssetsInfo() {
1919
"CLI_VERSION='\''\(.tag_name)'\''",
2020
(
2121
.assets[] |
22-
if .content_type == "application/java-archive" then
22+
if (.name | endswith(".jar")) then
2323
"CLI_URL='\''\(.browser_download_url)'\''",
2424
"CLI_SIZE='\''\(.size|tostring)'\''"
2525
else

0 commit comments

Comments
 (0)