Skip to content

Commit 9afbc9f

Browse files
committed
fix: ignore Bellsoft Liberica source archives for project Leyden
1 parent fceea50 commit 9afbc9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/liberica.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ versions=$(jq -r '.[].tag_name' "${TEMP_DIR}/releases-${VENDOR}.json" | sort -V)
126126
for version in ${versions}
127127
do
128128
prerelease=$(jq -r ".[] | select(.tag_name == \"${version}\") | .prerelease" "${TEMP_DIR}/releases-${VENDOR}.json")
129-
assets=$(jq -r ".[] | select(.tag_name == \"${version}\") | .assets[] | select(.content_type != \"text/plain\") | select (.name | endswith(\".txt\") | not) | select (.name | endswith(\".bom\") | not) | select (.name | endswith(\".json\") | not) | select (.name | endswith(\"-src.tar.gz\") | not) | select (.name | endswith(\"-src-full.tar.gz\") | not) | select (.name | endswith(\"-src-crac.tar.gz\") | not) | select (.name | contains(\"-full-nosign\") | not) | .name" "${TEMP_DIR}/releases-${VENDOR}.json")
129+
assets=$(jq -r ".[] | select(.tag_name == \"${version}\") | .assets[] | select(.content_type != \"text/plain\") | select (.name | endswith(\".txt\") | not) | select (.name | endswith(\".bom\") | not) | select (.name | endswith(\".json\") | not) | select (.name | endswith(\"-src.tar.gz\") | not) | select (.name | endswith(\"-src-full.tar.gz\") | not) | select (.name | endswith(\"-src-crac.tar.gz\") | not) | select (.name | endswith(\"-src-leyden.tar.gz\") | not) | select (.name | contains(\"-full-nosign\") | not) | .name" "${TEMP_DIR}/releases-${VENDOR}.json")
130130
for asset in ${assets}
131131
do
132132
download "${version}" "${asset}" "${prerelease}" || echo "Cannot download ${asset}"

0 commit comments

Comments
 (0)