Skip to content

Commit

Permalink
a little jq cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bradegler committed Oct 24, 2022
1 parent fb4f4eb commit 9d226c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-terraform-checksum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
curl --remote-name "${RELEASE_INFORMATION_URL}"
export BIN_URL=$(jq -r '.builds[] | select(.os=="linux") | select(.arch=="amd64") | .url' < index.json)
export BIN_FILE=$(jq -r '.builds[] | select(.os=="linux") | select(.arch=="amd64") | .filename' < index.json)
export BIN_URL=$(jq -r '.builds[] | select(.os=="linux" and .arch=="amd64") | .url' < index.json)
export BIN_FILE=$(jq -r '.builds[] | select(.os=="linux" and .arch=="amd64") | .filename' < index.json)
export SHA_FILE=$(jq -r '.shasums' < index.json)
export SIG_FILE=$(jq -r '.shasums_signature' < index.json)
Expand Down

0 comments on commit 9d226c6

Please sign in to comment.