We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea10e0c commit 3237c9dCopy full SHA for 3237c9d
scripts/set-versions.sh
@@ -27,10 +27,10 @@ if [ "${NETBOX_DOCKER_VERSION}" == 'auto' ]; then
27
28
while [ "${NEXT}" != "null" ] && [ "${NETBOX_DOCKER_VERSION}" == "" ]; do
29
RESPONSE=$(curl --silent "${NEXT}")
30
- NEXT=$(echo -E "${RESPONSE}" | jq '.next')
+ NEXT=$(echo -E "${RESPONSE}" | jq -r '.next')
31
32
NETBOX_DOCKER_VERSION=$(echo -E "${RESPONSE}" |
33
- jq -r ".results[] | select(.name | startswith(\"v${NETBOX_VERSION}-\")) | .name" |
+ jq -r ".results[] | select((.name | startswith(\"v${NETBOX_VERSION}-\")) and (.name | index(\"ldap\") | not)) | .name" |
34
cut -d "-" -f 2)
35
done
36
0 commit comments