Skip to content

Commit

Permalink
Fix error in "set-versions" script.
Browse files Browse the repository at this point in the history
  • Loading branch information
v0ctor committed Aug 17, 2023
1 parent 3237c9d commit fa82f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/set-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ if [ "${NETBOX_DOCKER_VERSION}" == 'auto' ]; then
NEXT=$(echo -E "${RESPONSE}" | jq -r '.next')

NETBOX_DOCKER_VERSION=$(echo -E "${RESPONSE}" |
jq -r ".results[] | select((.name | startswith(\"v${NETBOX_VERSION}-\")) and (.name | index(\"ldap\") | not)) | .name" |
cut -d "-" -f 2)
jq -r ".results[] | select((.name | startswith(\"v${NETBOX_VERSION}-\")) and (.name | index(\"ldap\") | not)) | .name")
NETBOX_DOCKER_VERSION=${NETBOX_DOCKER_VERSION##*-}
done

unset NEXT
Expand Down

0 comments on commit fa82f18

Please sign in to comment.