Skip to content

Commit

Permalink
failed to filter for supported ARCHS
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford committed Nov 20, 2023
1 parent 5a783f7 commit 6dfee5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions 01-main/packages/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
disable=SC2034,SC2148
3 changes: 3 additions & 0 deletions 01-main/packages/glab
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ DEFVER=1
#get_gitlab_releases "gitlab-org%2Fcli"
# PROJ="gitlab-org/cli"
# PROJ=${PROJ/\//%2F}
#ARCHS_SUPPORTED="amd64 arm64 armhf
get_gitlab_releases "gitlab-org%2Fcli" "latest"

if [ "${ACTION}" != "prettylist" ]; then
URL=$(jq <${CACHE_FILE} -r '.[] |select(.name|contains("x86_64.deb"))| .direct_asset_url')
#URL=$(jq <${CACHE_FILE} --arg arch ${HOST_CPU/armhf/arm} -r '.[] |select(.name|contains($arch))|select(.name|contains(".deb"))| .direct_asset_url')

#URL= $(jq <${CACHE_FILE} -r '.[] | .direct_asset_url' | grep ".*${HOST_CPU}\.deb"
#URL="${URL//\"}"

Expand Down

0 comments on commit 6dfee5a

Please sign in to comment.