Skip to content

Commit

Permalink
try again 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Jun 28, 2023
1 parent 522d04d commit 7200003
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/reusable-verify-release-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
release: [ {
product: consul,
name: oss,
suffix: "",
targets: [
{ os: "darwin", arch: "amd64" },
Expand All @@ -44,7 +44,7 @@ jobs:
verify: true
},
{
product: consul,
name: enterprise,
suffix: "+ent",
targets: [
{ os: "darwin", arch: "amd64" },
Expand All @@ -62,7 +62,7 @@ jobs:
verify: true
},
{
product: consul,
name: ent-fips,
suffix: "+ent.fips1402",
targets: [
{ os: "linux", arch: "386" },
Expand All @@ -79,9 +79,9 @@ jobs:
- name: verify zips
if: ${{ matrix.release.verify }}
run: |
zips=$(echo '${{ toJSON(matrix.release.targets) }}' | jq -r 'map("${{ matrix.release.product }}" + "${{ matrix.release.suffix }}" + "_" + "${{ inputs.version }}" + "_" + .os + "_" + .arch + ".zip" )| join("|")' )
zips=$(echo '${{ toJSON(matrix.release.targets) }}' | jq -r 'map("consul" + "${{ 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 }}${{ matrix.release.suffix }}/${{ inputs.version }}/ \
found=$(curl https://releases.hashicorp.com/consul${{ matrix.release.suffix }}/${{ inputs.version }}/ \
| grep -E "${zips}" \
| wc -l \
| awk '$1=$1')
Expand Down

0 comments on commit 7200003

Please sign in to comment.