Skip to content

Commit

Permalink
fix suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Jun 28, 2023
1 parent 2075983 commit 450ca91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-verify-release-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
run: |
zips=$(echo '${{ toJSON(matrix.release.targets) }}' | jq -r 'map("${{ matrix.release.product }}" + "${{ matrix.release.suffix }}" + "_" + "${{ inputs.version }}" + "_" + .os + "_" + .arch + ".zip" )| join("|")' )
expected=$(echo '${{ toJSON(matrix.release.targets) }}' | jq length)
found=$(curl https://releases.hashicorp.com/${{ matrix.release.product }}/${{ inputs.version }}/ \
found=$(curl https://releases.hashicorp.com/${{ matrix.release.product }}${{ matrix.release.suffix }}/${{ inputs.version }}/ \
| grep -E "${zips}" \
| wc -l \
| awk '$1=$1')
Expand Down

0 comments on commit 450ca91

Please sign in to comment.